[systemd] Add more ustreamer and snapspot
This commit is contained in:
11
systemd/.config/systemd/user/snapspot.service
Normal file
11
systemd/.config/systemd/user/snapspot.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Snapclient
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/snapclient -h snapcast.service -i 2 -p 2704
|
||||
ExecStop=kill $(pidof snapclient)
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
10
systemd/.config/systemd/user/ustreamer.service
Normal file
10
systemd/.config/systemd/user/ustreamer.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=uStreamer
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ustreamer -s 0.0.0.0 -p 8081 -r 1920x1080 -d /dev/video0 -m MJPEG
|
||||
ExecStop=kill $(pidof ustreamer)
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
10
systemd/.config/systemd/user/ustreamer2.service
Normal file
10
systemd/.config/systemd/user/ustreamer2.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=uStreamer
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ustreamer -s 0.0.0.0 -p 8082 -r 1920x1080 -d /dev/video2 -m MJPEG
|
||||
ExecStop=kill $(pidof ustreamer)
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
10
systemd/.config/systemd/user/ustreamer3.service
Normal file
10
systemd/.config/systemd/user/ustreamer3.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=uStreamer
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ustreamer -s 0.0.0.0 -p 8083 -r 1920x1080 -d /dev/video4 -m MJPEG
|
||||
ExecStop=kill $(pidof ustreamer)
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user