[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