tweak.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Manuel Friedli 2026-02-06 22:04:54 +01:00
parent 8c469f6271
commit 647d9f73fb
3 changed files with 18 additions and 8 deletions

View file

@ -5,3 +5,13 @@
# 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
# The following variables are not official Beszel Hub environment variables.
# Instead, they are used as parameters for command line options.
# Set the listen address and port for HTTP connections. Leave empty for
# default 127.0.0.1:8090
#BESZEL_HUB_SERVE_HTTP=localhost:9080
# Set the listen address and port for HTTPS connections. Leave empty for
# default - disabled.
#BESZEL_HUB_SERVE_HTTPS=

View file

@ -1,14 +1,14 @@
[Unit]
Description=Beszel Hub Service
After=network-online.target
Wants=network-online.target
After=network.target
[Service]
ExecStart=/usr/bin/beszel-hub --dir /var/lib/beszel-hub
EnvironmentFile=/etc/beszel-hub/beszel-hub.env
Restart=on-failure
Type=simple
Restart=always
RestartSec=5
StateDirectory=beszel-hub
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