mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Merge pull request #209 from djs55/fix-tap-vsockd
tap-vsockd: make sure the service daemonizes properly
This commit is contained in:
commit
ef4a411284
@ -21,11 +21,11 @@ start()
|
|||||||
ebegin "Starting VPN proxy"
|
ebegin "Starting VPN proxy"
|
||||||
|
|
||||||
PIDFILE=/var/run/tap-vsockd.pid
|
PIDFILE=/var/run/tap-vsockd.pid
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start \
|
||||||
--exec /sbin/tap-vsockd \
|
--exec /sbin/tap-vsockd \
|
||||||
|
--background \
|
||||||
--pidfile ${PIDFILE} \
|
--pidfile ${PIDFILE} \
|
||||||
-- \
|
-- \
|
||||||
--daemon \
|
|
||||||
--pidfile "${PIDFILE}" \
|
--pidfile "${PIDFILE}" \
|
||||||
--listen
|
--listen
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user