commit 7def56bf98aecf7c77ff680a5686f462de7be033
parent 9273ef22a622c87441f711236c2d11515da6914f
Author: parazyd <parazyd@dyne.org>
Date: Thu, 19 Jul 2018 16:28:42 +0200
Add a commandline opts example in the dam-dir initscript.
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/dam-dir.conf b/contrib/dam-dir.conf
@@ -8,3 +8,6 @@ damgid="decode"
# Path to logfile
damlog="/var/log/tor-dam/dam-dir.log"
+
+# Commandline flags
+#damopts="-t"
diff --git a/contrib/dam-dir.init b/contrib/dam-dir.init
@@ -19,7 +19,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() {