installscritp
This commit is contained in:
parent
3772444081
commit
a155ae2210
|
@ -0,0 +1,8 @@
|
|||
!/bin/bash
|
||||
|
||||
sudo cp /home/livecam/LiveCam/systemd/livecam-chch.service /etc/systemd/system/livecam-chch.service
|
||||
chmod 664 /etc/systemd/system/livecam-chch.service
|
||||
# service enablen - startet so automatisch
|
||||
systemctl enable livecam-chch
|
||||
|
||||
|
|
@ -3,7 +3,7 @@ Description=Barrierefreie Livecam des chch-service.
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/opt/livecam/start.sh
|
||||
ExecStart=su livecam /home/livecam/LiveCam/cam1/start.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue