diff options
author | MaZderMind <git@mazdermind.de> | 2016-08-12 22:19:32 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-08-12 22:19:32 +0200 |
commit | 7ce3b12e4a76d1926077d7efa57e5e9d3538de33 (patch) | |
tree | b483a4e63b5e429cd0146c4a56402e361e35e645 /example-scripts | |
parent | 768a7b5b2df3948dabe2cd6ad99aa397902ed5f1 (diff) |
adds example systemd units, fixes #48
Diffstat (limited to 'example-scripts')
9 files changed, 125 insertions, 0 deletions
diff --git a/example-scripts/systemd-units/voctomix-bgloop-source.service b/example-scripts/systemd-units/voctomix-bgloop-source.service new file mode 100644 index 0000000..3138e81 --- /dev/null +++ b/example-scripts/systemd-units/voctomix-bgloop-source.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix bgloop-source +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.service 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 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 diff --git a/example-scripts/systemd-units/voctomix-grabber-source.service b/example-scripts/systemd-units/voctomix-grabber-source.service new file mode 100644 index 0000000..8d3ba8c --- /dev/null +++ b/example-scripts/systemd-units/voctomix-grabber-source.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix video-source for framegrabber +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.service diff --git a/example-scripts/systemd-units/voctomix-music-source.service b/example-scripts/systemd-units/voctomix-music-source.service new file mode 100644 index 0000000..97a9ba2 --- /dev/null +++ b/example-scripts/systemd-units/voctomix-music-source.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix music-source +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/source-nostream-music.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.service diff --git a/example-scripts/systemd-units/voctomix-pause-source.service b/example-scripts/systemd-units/voctomix-pause-source.service new file mode 100644 index 0000000..c8f7c55 --- /dev/null +++ b/example-scripts/systemd-units/voctomix-pause-source.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix pause-source +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/source-nostream-pause-loop.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.service diff --git a/example-scripts/systemd-units/voctomix-recording-sink.service b/example-scripts/systemd-units/voctomix-recording-sink.service new file mode 100644 index 0000000..a38773e --- /dev/null +++ b/example-scripts/systemd-units/voctomix-recording-sink.service @@ -0,0 +1,14 @@ +[Unit] +Description = voctomix recording-sink +After = voctomix-voctocore.service +Requires = voctomix-voctocore.service + +[Service] +Type = simple +ExecStart = /usr/share/doc/voctomix/example-scripts/ffmpeg/record-mixed-ffmpeg-segmented.sh +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = voctomix-voctocore.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 diff --git a/example-scripts/systemd-units/voctomix-voctocore.service b/example-scripts/systemd-units/voctomix-voctocore.service new file mode 100644 index 0000000..9f5a759 --- /dev/null +++ b/example-scripts/systemd-units/voctomix-voctocore.service @@ -0,0 +1,13 @@ +[Unit] +Description = voctomix core +After=network.target + +[Service] +Type = simple +ExecStart = /usr/share/voctomix/voctocore/voctocore.py -vv +Restart = always +RestartSec = 1s +StartLimitInterval = 0 + +[Install] +WantedBy = multi-user.target |