aboutsummaryrefslogtreecommitdiff
path: root/scripts/debian/init.d/pd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/debian/init.d/pd')
-rwxr-xr-xscripts/debian/init.d/pd9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/debian/init.d/pd b/scripts/debian/init.d/pd
index 70cae357..05ba46b0 100755
--- a/scripts/debian/init.d/pd
+++ b/scripts/debian/init.d/pd
@@ -26,7 +26,7 @@ set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Pure Data"
NAME=pd
-DAEMON=/usr/local/bin/$NAME
+DAEMON=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
@@ -36,7 +36,12 @@ test -x $DAEMON || exit 0
# options
RUNPDDAEMON=no
USER=nobody
-PORT=34985
+#PORT=34985
+
+# TODO: write daemon.pd patch which is always started and provides basic
+# commands, like start, stop, quit, dsp, etc. over a TCP port
+
+# TODO: figure out how to have a log of the stderr/console output
# Read config file if it is present.
if [ -r /etc/default/$NAME ]