mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
adguardhome: respawn on crash
Respawn service on crash. Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
@@ -84,6 +84,7 @@ start_service() {
|
||||
procd_set_param group "$group"
|
||||
procd_set_param capabilities /etc/capabilities/adguardhome.json
|
||||
procd_set_param no_new_privs 1
|
||||
procd_set_param respawn
|
||||
|
||||
# log is needed for logging to syslog instead of stdout
|
||||
# procfs is needed to readlink /proc/self/exe
|
||||
|
||||
Reference in New Issue
Block a user