aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-26 00:36:22 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-11-26 00:36:22 +0000
commit674d43fbf9be1f213db9955c214f042a191dfee7 (patch)
treed2d1ae11fd561312d9690f70c61439b6dad2fd79
parent35a76b465c8d51b10815e609bf91885791a7ede9 (diff)
PARAMS needs to be after /etc/default/ so that get set
svn path=/trunk/; revision=16581
-rwxr-xr-xscripts/debian/init.d/pd-extended6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/debian/init.d/pd-extended b/scripts/debian/init.d/pd-extended
index bee98768..de11dbb2 100755
--- a/scripts/debian/init.d/pd-extended
+++ b/scripts/debian/init.d/pd-extended
@@ -27,9 +27,6 @@ RUNPDDAEMON=no
USER=nobody
#PORT=34985
-# this is meant for running Pd as a server, so it turns off everything
-PARAMS="-nogui -noaudio -nomidi $OPTIONS"
-
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
@@ -43,6 +40,9 @@ PARAMS="-nogui -noaudio -nomidi $OPTIONS"
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
+# this is meant for running Pd as a server, so it turns off everything
+PARAMS="-nogui -noaudio -nomidi $OPTIONS"
+
#
# Function that starts the daemon/service
#