yggdrasil: properly call the daemon with procd
Signed-off-by: William Fleurant <meshnet@protonmail.com>
(cherry-picked from 9436ff4261
)
This commit is contained in:
parent
86ee57f9ca
commit
ac91df4095
1 changed files with 3 additions and 1 deletions
|
@ -11,8 +11,10 @@ start_service()
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param respawn
|
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
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue