show full path of config file in ps(1) output
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 15:02:12 +0000 (15:02 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 15:02:12 +0000 (15:02 +0000)
zebra/init-script

index a0d112c..658013e 100755 (executable)
@@ -41,7 +41,7 @@ case "$1" in
        # Let log rotation take care of backups
        #test -f $logfile && mv -f $logfile $logfile.old
        ( cd $IRSPYDIR/zebra
-         zebrasrv-2.0 -f yazserver.xml < /dev/null >> $logfile 2>&1 &
+         zebrasrv-2.0 -f $(pwd)/yazserver.xml < /dev/null >> $logfile 2>&1 &
          echo $! > $pidfile
        )
        ;;