From 8571cfc99713b88003f7c16c612f0b9e05c9f3f4 Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Thu, 3 Dec 2015 13:55:49 -0200 Subject: [PATCH] Fix Stoa daemon paths and script name variables --- plugins/stoa/script/stoa-auth-server | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/stoa/script/stoa-auth-server b/plugins/stoa/script/stoa-auth-server index dc0d0bf..2992d84 100755 --- a/plugins/stoa/script/stoa-auth-server +++ b/plugins/stoa/script/stoa-auth-server @@ -25,7 +25,7 @@ # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Stoa authentication deamon" -NAME=stoa-auth-daemon +NAME=stoa-auth-server SCRIPTNAME=/etc/init.d/$NAME # default values @@ -33,8 +33,8 @@ NOOSFERO_DIR=/var/lib/noosfero/current NOOSFERO_USER=noosfero # Read configuration variable file if it is present -if [ -r /etc/default/$NAME ]; then - . /etc/default/$NAME +if [ -r /etc/default/noosfero ]; then + . /etc/default/noosfero else # for running from development setup, or from git with the script symlinked script=$(readlink -f $0) -- libgit2 0.21.2