implement auto restart with supervise-daemon
This commit is contained in:
@@ -4,6 +4,9 @@ depend() {
|
||||
need docker net
|
||||
}
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
respawn_delay=5
|
||||
respawn_max=0
|
||||
|
||||
command="/usr/bin/tsdns"
|
||||
command_background=true
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
Reference in New Issue
Block a user