generated from CubeCraft-Creations/Tracehound
30 lines
611 B
Desktop File
30 lines
611 B
Desktop File
[Unit]
|
|
Description=RemoteRig Central Hub
|
|
Documentation=https://github.com/CubeCraft-Creations/remote-rig
|
|
After=network.target mosquitto.service
|
|
Wants=mosquitto.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
WorkingDirectory=/opt/remoterig
|
|
ExecStart=/opt/remoterig/remoterig
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
# Security hardening (optional, uncomment to enable)
|
|
# NoNewPrivileges=yes
|
|
# ProtectSystem=strict
|
|
# ProtectHome=yes
|
|
# ReadWritePaths=/opt/remoterig
|
|
|
|
# Allow graceful shutdown
|
|
TimeoutStopSec=10s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|