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