[Unit] Description=Button Camera with Web Server After=network.target [Service] ExecStart=/usr/bin/python3 /home/ink/camera_server.py WorkingDirectory=/home/ink StandardOutput=inherit StandardError=inherit Restart=always User=root [Install] WantedBy=multi-user.target