diff --git a/etc/systemd/system/rgncycle.service b/etc/systemd/system/rgncycle.service index e341cee..d683781 100644 --- a/etc/systemd/system/rgncycle.service +++ b/etc/systemd/system/rgncycle.service @@ -18,13 +18,13 @@ Group=rgncycle Type=simple # specify the entire command line to be used to execute the app -ExecStart=/home/rgncycle/git/rgncycle-libulfius/http-get/main 65535 cfg-sib00_rgncycle.txt +ExecStart=/home/rgncycle/bin/rgncycle 65535 cfg-sib00_rgncycle.txt # define that the app has closed cleanly with exit status 143 when killed via SIGTERM SuccessExitStatus=143 # define the service home directory -WorkingDirectory=/home/rgncycle/git/rgncycle-libulfius/http-get +WorkingDirectory=/home/rgncycle/bin # restart the service after a failure Restart=on-failure