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
7
www-apps/beszel-hub/files/beszel-hub.env
Normal file
7
www-apps/beszel-hub/files/beszel-hub.env
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# This is a sample config file. Adjust to your needs.
|
||||
# See https://beszel.dev/guide/environment-variables#hub for all available
|
||||
# variables.
|
||||
|
||||
# The application URL. Used for links in emails and notigications. Must set
|
||||
# if serving at a subpath.
|
||||
#BESZEL_HUB_APP_URL=https://beszel.example.com
|
||||
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