From 7133c588c5221fc339bc29c325c81def3e3f6bad Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Sat, 11 Apr 2015 10:25:51 +0200 Subject: [PATCH] Configure port in init script. --- contrib/scriptform.init.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/scriptform.init.d b/contrib/scriptform.init.d index 96ceaff..719b2d5 100755 --- a/contrib/scriptform.init.d +++ b/contrib/scriptform.init.d @@ -20,7 +20,8 @@ PIDFILE=/var/run/scriptform.pid LOGFILE=/var/log/scriptform.log DAEMON=/usr/bin/scriptform FORM_CONFIG= -DAEMON_ARGS="--pid-file $PIDFILE --log-file $LOGFILE $FORM_CONFIG" +PORT=8080 +DAEMON_ARGS="--port $PORT --pid-file $PIDFILE --log-file $LOGFILE $FORM_CONFIG" # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.