Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
30 lines
660 B
Desktop File
30 lines
660 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
|
|
ReadWritePaths=/var/lib/beszel-hub
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|