Commit c7497e09 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

writes json events to new log file every weekday - to stop log growth

parent a4c0db36
Pipeline #15750 passed with stages
in 1 minute and 7 seconds
......@@ -34,7 +34,7 @@ do_start() {
start-stop-daemon --start --background --pidfile /run/ -m --exec $RUDE -- -P 50 -s /etc/mp-rude/rude.conf
start-stop-daemon --start --background --pidfile /run/ -m --exec $CRUDE -- -P 50 -k -l $PIPE
start-stop-daemon --start --background --pidfile /run/ -m --exec /usr/share/mp-rude/mp-rude-zip -- $PIPE $LOG.crude.gz $PIPE2
start-stop-daemon --start --background --pidfile /run/ -m --exec /usr/share/mp-rude/mp-rude-ana -- logs-uninett-mp-rude $PIPE2 /var/log/mp-rude/mp-rude-events.log
start-stop-daemon --start --background --pidfile /run/ -m --exec /usr/share/mp-rude/mp-rude-ana -- logs-uninett-mp-rude $PIPE2 /var/log/mp-rude/mp-rude-events`date +%a`.log
log_end_msg $?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment