FreeBSD rc script: restart the service on termination

This commit is contained in:
Hannes Mehnert 2023-05-27 20:06:44 +02:00
parent e7b3e13597
commit 62965d4f90

View file

@ -33,7 +33,7 @@ procname="/usr/local/libexec/builder-web"
builder_web_start () {
echo "Starting ${name}."
/usr/sbin/daemon -S -p "${pidfile}" -u "${builder_web_user}" \
/usr/sbin/daemon -S -r -P "${pidfile}" -u "${builder_web_user}" \
"${procname}" ${builder_web_flags}
}