diff options
author | Colin Guthrie <colin@mageia.org> | 2014-02-10 09:04:25 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-02-10 09:04:25 +0000 |
commit | 6ce634bc206043d64020552ce6eda892425cf5e4 (patch) | |
tree | 9f29b6a0e7902256e269c889b163bf3676708a93 /modules/gitmirror/templates/on-the-pull.init | |
parent | 5afd6974a9c808f750200a7a257f31f9f0b68350 (diff) | |
download | puppet-6ce634bc206043d64020552ce6eda892425cf5e4.tar puppet-6ce634bc206043d64020552ce6eda892425cf5e4.tar.gz puppet-6ce634bc206043d64020552ce6eda892425cf5e4.tar.bz2 puppet-6ce634bc206043d64020552ce6eda892425cf5e4.tar.xz puppet-6ce634bc206043d64020552ce6eda892425cf5e4.zip |
gitmirror: Redirect output to a log file
The logging is not too large so don't worry too much about it for now.
Longer term, systemd journal will be sufficient
Diffstat (limited to 'modules/gitmirror/templates/on-the-pull.init')
-rwxr-xr-x | modules/gitmirror/templates/on-the-pull.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gitmirror/templates/on-the-pull.init b/modules/gitmirror/templates/on-the-pull.init index adee5643..9073508e 100755 --- a/modules/gitmirror/templates/on-the-pull.init +++ b/modules/gitmirror/templates/on-the-pull.init @@ -19,7 +19,7 @@ args="--pid-file=$pidfile --user=git --cmd=/usr/local/bin/gitmirror-sync-metadat start() { gprintf "Starting On-The-Pull Git Mirror Daemon: " - daemon --check on-the-pull --pidfile $pidfile $prog $args + daemon --check on-the-pull --pidfile $pidfile $prog $args >/var/log/on-the-pull.log 2>&1 RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/on-the-pull |