tAdd a commandline flag example in dam-client's initscript. - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 48cba8995173a6e1334721788882a2a6fbe0c568
DIR parent c92808cd8466674fedd351839a82317d65e468df
HTML 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:
M contrib/dam-client.conf | 3 +++
M contrib/dam-client.init | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
---
DIR diff --git a/contrib/dam-client.conf b/contrib/dam-client.conf
t@@ -8,3 +8,6 @@ damgid="decode"
# Path to logfile
damlog="/var/log/tor-dam/dam-client.log"
+
+# Commandline flags
+#damopts="-d"
DIR diff --git a/contrib/dam-client.init b/contrib/dam-client.init
t@@ -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() {