Merge branch 'master' of [fd63:bb49:f2eb:1337::a1]:~/LiveCam
This commit is contained in:
commit
62c320252c
2 changed files with 17 additions and 0 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
|
||||||
|
sudo chmod 664 /etc/systemd/system/livecam-chch.service
|
||||||
|
# service enablen - startet so automatisch
|
||||||
|
sudo systemctl enable livecam-chch
|
||||||
|
|
||||||
|
|
9
systemd/livecam-chch.service
Normal file
9
systemd/livecam-chch.service
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Barrierefreie Livecam des chch-service.
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=su livecam /home/livecam/LiveCam/cam1/start.sh &
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue