commit 48cba8995173a6e1334721788882a2a6fbe0c568
parent c92808cd8466674fedd351839a82317d65e468df
Author: parazyd <parazyd@dyne.org>
Date: Thu, 19 Jul 2018 16:51:58 +0200
Add a commandline flag example in dam-client's initscript.
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/dam-client.conf b/contrib/dam-client.conf
@@ -8,3 +8,6 @@ damgid="decode"
# Path to logfile
damlog="/var/log/tor-dam/dam-client.log"
+
+# Commandline flags
+#damopts="-d"
diff --git a/contrib/dam-client.init b/contrib/dam-client.init
@@ -18,7 +18,7 @@ start() {
chown $damuid:$damgid $(dirname $damlog)
supervise-daemon -d $_h -e HOME=$_h -u $damuid -g $damgid \
--pidfile $pidfile -1 $damlog -2 $damlog \
- --start $command
+ --start $command $damopts
}
stop() {