]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
radhttpcheck: Tweak systemd unit
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 24 May 2023 02:10:41 +0000 (22:10 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 24 May 2023 02:10:41 +0000 (22:10 -0400)
scripts/health/radhttpcheck/radhttpcheck.service

index bdfc1a27595bfb08271152fed632f458ec32405b..90af85873fb7d41a6bfdfebf5f47becfe55bf204 100644 (file)
@@ -5,8 +5,9 @@ Documentation=raddhtpcheck/README.md
 
 [Service]
 Type=exec
-ExecStart=/usr/local/radhttpcheck/radhttpcheck.py --conf /usr/local/radhttpcheck/radhttpcheck.yml
-Restart=on-failure
+WorkingDirectory=/usr/local/radhttpcheck
+ExecStart=/usr/local/radhttpcheck/radhttpcheck.py
+Restart=always
 RestartSec=5
 
 # Allow binding to low ports like 80