FreeBSD rc script: restart the service on termination
This commit is contained in:
parent
e7b3e13597
commit
62965d4f90
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ procname="/usr/local/libexec/builder-web"
|
||||||
|
|
||||||
builder_web_start () {
|
builder_web_start () {
|
||||||
echo "Starting ${name}."
|
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}
|
"${procname}" ${builder_web_flags}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue