From e99d36784b76ea8297995505ad61b16a64308567 Mon Sep 17 00:00:00 2001 From: David Scott Date: Tue, 14 Jun 2016 15:16:56 +0100 Subject: [PATCH] tap-vsockd: make sure the service daemonizes properly This tells start-stop-daemon to run tap-vsockd as a daemon, and tells tap-vsockd not to daemonize itself. This seems to work more reliably than when tap-vsockd self-daemonizes. Signed-off-by: David Scott --- alpine/packages/tap-vsockd/etc/init.d/tap-vsockd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine/packages/tap-vsockd/etc/init.d/tap-vsockd b/alpine/packages/tap-vsockd/etc/init.d/tap-vsockd index 0e15f1685..0b400014e 100755 --- a/alpine/packages/tap-vsockd/etc/init.d/tap-vsockd +++ b/alpine/packages/tap-vsockd/etc/init.d/tap-vsockd @@ -21,11 +21,11 @@ start() ebegin "Starting VPN proxy" PIDFILE=/var/run/tap-vsockd.pid - start-stop-daemon --start --quiet \ + start-stop-daemon --start \ --exec /sbin/tap-vsockd \ + --background \ --pidfile ${PIDFILE} \ -- \ - --daemon \ --pidfile "${PIDFILE}" \ --listen