Files
rig-pocket/rig-pocket.service
Asger Geel Weirsøe 69cb255120 Rig Pocket: phone status page and ntfy notifier for OpenRig
Installable PWA showing rigs, seats (working, idle, waiting for an answer),
queue items and recent commits; seat screens with replies; push through ntfy.
Reads state through the rig CLI only, Python standard library, no build step,
styled entirely with the shared weirsoe-theme.

Claude-Session: https://claude.ai/code/session_01QhLkBGEip8wQdaZ54z4AqJ
2026-10-20 17:43:55 +02:00

17 lines
488 B
Desktop File

# Example unit. Run as the user that owns the OpenRig daemon.
[Unit]
Description=Rig Pocket (phone status page for OpenRig)
After=network-online.target openrig.service
[Service]
User=rig
WorkingDirectory=/opt/rig-pocket
Environment=PATH=/home/rig/.local/bin:/home/rig/.npm-global/bin:/usr/local/bin:/usr/bin:/bin
Environment=HOME=/home/rig
EnvironmentFile=-/etc/rig-pocket.env
ExecStart=/usr/bin/python3 /opt/rig-pocket/server.py
Restart=on-failure
[Install]
WantedBy=multi-user.target