mirror of
https://github.com/zvx-echo6/central.git
synced 2026-05-21 18:14:44 +02:00
20 lines
409 B
SYSTEMD
20 lines
409 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Central GUI (FastAPI + HTMX)
|
||
|
|
After=network-online.target
|
||
|
|
Wants=network-online.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
User=central
|
||
|
|
Group=central
|
||
|
|
WorkingDirectory=/opt/central
|
||
|
|
Environment=HOME=/opt/central
|
||
|
|
ExecStart=/opt/central/.venv/bin/central-gui
|
||
|
|
Restart=on-failure
|
||
|
|
RestartSec=5
|
||
|
|
NoNewPrivileges=true
|
||
|
|
ProtectSystem=full
|
||
|
|
ProtectHome=true
|
||
|
|
PrivateTmp=true
|
||
|
|
StandardOutput=journal
|
||
|
|
StandardError=journal
|