gentoo-overlay/www-apps/beszel-hub/files/beszel-hub.service
Manuel Friedli 647d9f73fb
Some checks failed
continuous-integration/drone/push Build is failing
tweak.
2026-02-06 22:04:54 +01:00

29 lines
625 B
Desktop File

[Unit]
Description=Beszel Hub Service
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=5
ExecStart=/usr/bin/beszel-hub serve --dir /var/lib/beszel-hub/data --http ${BESZEL_HUB_SERVE_HTTP} --https ${BESZEL_HUB_SERVE_HTTPS}
WorkingDirectory=/var/lib/beszel-hub
EnvironmentFile=/etc/beszel-hub/beszel-hub.env
User=beszel-hub
Group=beszel
# Security/sandboxing settings
KeyringMode=private
LockPersonality=yes
NoNewPrivileges=yes
ProtectClock=yes
ProtectHome=read-only
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectSystem=strict
RemoveIPC=yes
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target