Skip to content

Commit d8a9734

Browse files
committed
Simpler service copy & fix permissions
1 parent 776ece9 commit d8a9734

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/10-install-camera-streamer

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ cp /files/camera-streamer/usb-default.conf /boot/camera-streamer/usb-default.con
3333
cp /files/camera-streamer/camera-streamer-control /root/bin/camera-streamer-control
3434
chmod +x /root/bin/camera-streamer-control
3535

36-
cp /files/camera-streamer/camera-streamer.service /etc/systemd/system/camera-streamer.service
37-
cp /files/camera-streamer/camera-streamer-libcamera.service /etc/systemd/system/camera-streamer-libcamera.service
38-
cp /files/camera-streamer/camera-streamer-usb@.service /etc/systemd/system/camera-streamer-usb@.service
36+
cp /files/camera-streamer/camera-streamer*.service /etc/systemd/system/
37+
chmod -x /etc/systemd/system/camera-streamer*.service
3938

4039
# Only enable the camera-streamer service, it will start the others as configured
4140
systemctl enable camera-streamer.service

0 commit comments

Comments
 (0)