From 7ce3b12e4a76d1926077d7efa57e5e9d3538de33 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 12 Aug 2016 22:19:32 +0200 Subject: adds example systemd units, fixes #48 --- .../systemd-units/voctomix-streaming-sink.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 example-scripts/systemd-units/voctomix-streaming-sink.service (limited to 'example-scripts/systemd-units/voctomix-streaming-sink.service') diff --git a/example-scripts/systemd-units/voctomix-streaming-sink.service b/example-scripts/systemd-units/voctomix-streaming-sink.service new file mode 100644 index 0000000..8cc53cc --- /dev/null +++ b/example-scripts/systemd-units/voctomix-streaming-sink.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix streaming-hd sink +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/stream-hd.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.service -- cgit v1.2.3