Add ebuild for beszel-hub 0.18.3
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
This commit is contained in:
parent
603403e52f
commit
eb0b67a7b7
8 changed files with 89 additions and 11 deletions
29
www-apps/beszel-hub/files/beszel-hub.service
Normal file
29
www-apps/beszel-hub/files/beszel-hub.service
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[Unit]
|
||||
Description=Beszel Hub Service
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/beszel-hub
|
||||
EnvironmentFile=/etc/beszel-hub/beszel-hub.env
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StateDirectory=beszel-hub
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue