Skip to content

Commit

Permalink
fixing typo in init script
Browse files Browse the repository at this point in the history
  • Loading branch information
mriehl committed Mar 19, 2013
1 parent 8fd72a8 commit 8dbbdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/yadtreceiver/yadtreceiver
Expand Up @@ -15,7 +15,7 @@ LOGFILE=/var/log/yadtreceiver/yadtreceiver.log
[[ -r $CONFIGFILE ]] && source $CONFIGFILE [[ -r $CONFIGFILE ]] && source $CONFIGFILE


LOG_DIR=`dirname $LOGFILE` LOG_DIR=`dirname $LOGFILE`
[ "$(ls -A $LOG/DIR/)" ] && chmod --recursive g+rw,o+r $LOG_DIR/* [ "$(ls -A $LOG_DIR/)" ] && chmod --recursive g+rw,o+r $LOG_DIR/*


get_pid() { get_pid() {
ps -eopid,cmd | grep -v grep | grep "python .*twistd .*$TACFILE" | sed "s/^ *//;s/ .*//" ps -eopid,cmd | grep -v grep | grep "python .*twistd .*$TACFILE" | sed "s/^ *//;s/ .*//"
Expand Down

0 comments on commit 8dbbdc3

Please sign in to comment.