added a systemd service example as a reference

This commit is contained in:
2023-09-21 22:27:11 +03:30
parent 2e70b3419d
commit 4db6cb0af0

View 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