From: Wolfram Schneider Date: Tue, 13 Aug 2013 15:02:12 +0000 (+0000) Subject: show full path of config file in ps(1) output X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=32a85e6acc81075006c891576cb8fd15b9db9318;hp=0afeddb85a92ed74e1d7a91d3dca6815a5df6fa2 show full path of config file in ps(1) output --- diff --git a/zebra/init-script b/zebra/init-script index a0d112c..658013e 100755 --- a/zebra/init-script +++ b/zebra/init-script @@ -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 ) ;;