coffin

secure lan file storage on a device
git clone git://parazyd.org/coffin.git
Log | Files | Refs | Submodules | README | LICENSE

commit 509410f3cb6c61de8386274a8e7a233c58996cf4
parent 966866966ac2724313fe414e72899a4223d291b8
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 16 May 2016 18:30:25 +0200

fix initscript

Diffstat:
Msrc/extra/coffin.init | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/extra/coffin.init b/src/extra/coffin.init @@ -10,7 +10,7 @@ DAEMON=/usr/local/coffin/bin/coffin NAME=coffin DESC="coffin daemon" -text -x $DAEMON || exit 0 +test -x $DAEMON || exit 0 case "$1" in start) @@ -18,7 +18,6 @@ case "$1" in start-stop-daemon \ --start \ --background \ - --stdout /var/run/coffin.out \ --make-pidfile \ --pidfile /var/run/coffin.pid \ --exec $DAEMON @@ -27,8 +26,7 @@ case "$1" in echo "Stopping $DESC..." start-stop-daemon \ --stop \ - --pidfile /var/run/coffin.pid \ - --exec $DAEMON + --pidfile /var/run/coffin.pid ;; *) echo "Usage: $0 {start|stop}" >&2