Move imports to after connection, add service files to pi
This commit is contained in:
13
camera.service
Normal file
13
camera.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=UDP Camera Stream
|
||||
After=network.target auditd.service media-writable.mount
|
||||
Requires=media-writable.mount
|
||||
|
||||
[Service]
|
||||
ExecStart=/media/writable/run.sh
|
||||
Restart=always
|
||||
Type=idle
|
||||
User=pi
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user