add EmuMeter symlink in rc.local to Cerbo and Venus

This commit is contained in:
Yinyin Liu 2024-12-16 18:15:01 +01:00
parent 074511f6a7
commit 4e09e29496
2 changed files with 16 additions and 0 deletions

View File

@ -60,5 +60,11 @@ vpn_service_path="/data/innovenergy/openvpn/service"
vpn_symlink_path="/service/openvpn"
ln -s "$vpn_service_path" "$vpn_symlink_path"
# # Set EmuMeter service symlink
# echo "Creating symbolic link to EmuMeter service..."
# EmuMeter_service_path="/data/EmuMeter/service"
# EmuMeter_symlink_path="/service/EmuMeter"
# ln -s "$EmuMeter_service_path" "$EmuMeter_symlink_path"
exit 0

View File

@ -53,4 +53,14 @@ aggregator_service_path="/data/aggregator"
aggregator_symlink_path="/service"
ln -s "$aggregator_service_path" "$aggregator_symlink_path"
# Set VPN serive symlink
echo "Creating symbolic link to VPN service..."
ln -s /data/innovenergy/openvpn/service /service/openvpn
# # Set EmuMeter service symlink
# echo "Creating symbolic link to EmuMeter service..."
# EmuMeter_service_path="/data/EmuMeter/service"
# EmuMeter_symlink_path="/service/EmuMeter"
# ln -s "$EmuMeter_service_path" "$EmuMeter_symlink_path"
exit 0