mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 15:36:19 +04:00
yggdrasil: properly call the daemon with procd
Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from 9436ff4261)
This commit is contained in:
committed by
Rosen Penev
parent
86ee57f9ca
commit
ac91df4095
@@ -11,8 +11,10 @@ start_service()
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param respawn
|
||||
procd_set_param command /bin/ash -c "/usr/sbin/yggdrasil -useconffile /etc/yggdrasil.conf | logger -t yggdrasil"
|
||||
|
||||
procd_set_param command /usr/sbin/yggdrasil -useconffile /etc/yggdrasil.conf
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user