Change ExecStart directory to /opt/sysmon/main.py

From the script, it cloned the repo to `/opt` but the ExecStart points to home folder.
pull/966/head
cycool29 4 years ago committed by GitHub
parent 0a9bdc1baa
commit 7d3c285f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@ echo "[Unit]
After=network.target
[Service]
ExecStart=sudo python3 $HOME/sysmon/main.py -p 6969 -6
ExecStart=sudo python3 /opt/sysmon/main.py -p 6969 -6
[Install]
WantedBy=default.target" | sudo tee /etc/systemd/system/WebStationSYSMON.service >/dev/null

Loading…
Cancel
Save