feat: adjust systemd service script

This commit is contained in:
dancingCycle 2023-03-24 14:31:21 +01:00
parent 5745a3e9e1
commit bcb06d4403
1 changed files with 2 additions and 2 deletions

View File

@ -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