installscritp
This commit is contained in:
parent
3772444081
commit
a155ae2210
2 changed files with 9 additions and 1 deletions
8
systemd/installservice.sh
Executable file
8
systemd/installservice.sh
Executable file
|
@ -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]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/opt/livecam/start.sh
|
ExecStart=su livecam /home/livecam/LiveCam/cam1/start.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue