aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/systemd-units
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/systemd-units')
-rw-r--r--example-scripts/systemd-units/voctomix-cam3-source.service14
-rw-r--r--example-scripts/systemd-units/voctomix-cam4-source.service14
2 files changed, 28 insertions, 0 deletions
diff --git a/example-scripts/systemd-units/voctomix-cam3-source.service b/example-scripts/systemd-units/voctomix-cam3-source.service
new file mode 100644
index 0000000..3d941bc
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam3-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam3
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam3.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service
diff --git a/example-scripts/systemd-units/voctomix-cam4-source.service b/example-scripts/systemd-units/voctomix-cam4-source.service
new file mode 100644
index 0000000..202c111
--- /dev/null
+++ b/example-scripts/systemd-units/voctomix-cam4-source.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = voctomix test-video-source cam4
+After = voctomix-voctocore.service
+Requires = voctomix-voctocore.service
+
+[Service]
+Type = simple
+ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-cam4.sh
+Restart = always
+RestartSec = 1s
+StartLimitInterval = 0
+
+[Install]
+WantedBy = voctomix-voctocore.service