summaryrefslogtreecommitdiff
path: root/example-scripts/systemd-units/voctomix-cam1-source.service
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-08-12 22:19:32 +0200
committerMaZderMind <git@mazdermind.de>2016-08-12 22:19:32 +0200
commit7ce3b12e4a76d1926077d7efa57e5e9d3538de33 (patch)
treeb483a4e63b5e429cd0146c4a56402e361e35e645 /example-scripts/systemd-units/voctomix-cam1-source.service
parent768a7b5b2df3948dabe2cd6ad99aa397902ed5f1 (diff)
adds example systemd units, fixes #48
Diffstat (limited to 'example-scripts/systemd-units/voctomix-cam1-source.service')
-rw-r--r--example-scripts/systemd-units/voctomix-cam1-source.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/example-scripts/systemd-units/voctomix-cam1-source.service b/example-scripts/systemd-units/voctomix-cam1-source.service
new file mode 100644
index 0000000..e600575
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam1-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam1
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service