From ed883b896505ba1a4c0f2c3c56f71355e7495fdd Mon Sep 17 00:00:00 2001 From: vzemlys Date: Fri, 28 Jun 2013 15:30:10 +0300 Subject: [PATCH] Add the path to shiny-server binary and add explanation For some reason if the shiny-server is not referenced by the full path , the start-stop-daemon does not start it. --- config/init.d/debian/shiny-server | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/init.d/debian/shiny-server b/config/init.d/debian/shiny-server index 64266840..cd2be8af 100644 --- a/config/init.d/debian/shiny-server +++ b/config/init.d/debian/shiny-server @@ -15,10 +15,11 @@ # Do NOT "set -e" # PATH should only include /usr/* if it runs after the mountnfs.sh script -PATH=/sbin:/usr/sbin:/bin:/usr/bin +# Include the directory where shiny-server resides into the PATH and DAEMON. The default is /usr/local/bin/ +PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin DESC="shiny server" NAME=shiny-server -DAEMON=shiny-server +DAEMON=/usr/local/bin/shiny-server SCRIPTNAME=/etc/init.d/shiny-server # Exit if the package is not installed