summaryrefslogtreecommitdiff
path: root/example-scripts/systemd-units/voctomix-cam2-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-cam2-source.service
parent768a7b5b2df3948dabe2cd6ad99aa397902ed5f1 (diff)
adds example systemd units, fixes #48
Diffstat (limited to 'example-scripts/systemd-units/voctomix-cam2-source.service')
-rw-r--r--example-scripts/systemd-units/voctomix-cam2-source.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/example-scripts/systemd-units/voctomix-cam2-source.service b/example-scripts/systemd-units/voctomix-cam2-source.service
new file mode 100644
index 0000000..70707ad
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam2-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam2
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service