From bcb06d440333317b5ea9fb2ae30cf1d7f86bdfc0 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Fri, 24 Mar 2023 14:31:21 +0100 Subject: [PATCH] feat: adjust systemd service script --- etc/systemd/system/rgncycle.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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