added a systemd service example as a reference
This commit is contained in:
12
camera-client/camera_monitor.service.example
Normal file
12
camera-client/camera_monitor.service.example
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Camera Monitor Service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/path/to/your/python /path/to/your/camera_monitor.py
|
||||||
|
WorkingDirectory=/path/to/your/app/directory
|
||||||
|
User=your_user
|
||||||
|
Group=your_group
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user