feat: adjust systemd service script
This commit is contained in:
parent
5745a3e9e1
commit
bcb06d4403
|
@ -18,13 +18,13 @@ Group=rgncycle
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
# specify the entire command line to be used to execute the app
|
# 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
|
# define that the app has closed cleanly with exit status 143 when killed via SIGTERM
|
||||||
SuccessExitStatus=143
|
SuccessExitStatus=143
|
||||||
|
|
||||||
# define the service home directory
|
# define the service home directory
|
||||||
WorkingDirectory=/home/rgncycle/git/rgncycle-libulfius/http-get
|
WorkingDirectory=/home/rgncycle/bin
|
||||||
|
|
||||||
# restart the service after a failure
|
# restart the service after a failure
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
Loading…
Reference in New Issue