Commit 33b1e7b8 authored by Milan's avatar Milan
Browse files

add systemd support

parent 7b6da276
......@@ -17,4 +17,5 @@ do
[ -f /var/log/stream-schedule/scheduler.log ] && chown audiostream:www-data /var/log/stream-schedule/scheduler.log
su -s /bin/sh -c 'exec "$0" "$@" >> /var/log/stream-schedule/scheduler.log 2>&1' audiostream -- /usr/bin/scheduler.pl --daemon
sleep 3
done
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