Files
EasyDNS-Web/packaging/easydns-ui.service
T
Mateusz Gruszczyński de13d851a8
Go quality gates / test (push) Waiting to run
v0.1.1
2026-11-30 14:44:28 +01:00

38 lines
1.1 KiB
Desktop File

[Unit]
Description=EasyDNS Web Administration Panel
Documentation=https://git.linuxiarz.pl/gru/EasyDNS
Wants=network-online.target
After=network-online.target easydns.service
[Service]
Type=simple
User=easydns-ui
Group=easydns-ui
# Installer adds easydns-ui to the easydns group, if it exists.
# Unix socket or generated control.token must be accessible to this user.
# Loads /etc/easydns-ui/config.toml natively (no shell evaluation).
# Optional environment overrides can be provided with a systemd drop-in.
Environment=EASYDNS_UI_CONFIG_FILE=/etc/easydns-ui/config.toml
ExecStart=/usr/bin/easydns-ui
Restart=on-failure
RestartSec=4s
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
# Required only for optional multi-server token and node registry persistence.
ReadWritePaths=/var/lib/easydns-ui
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
PrivateDevices=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictSUIDSGID=true
LockPersonality=true
UMask=0077
CapabilityBoundingSet=
AmbientCapabilities=
[Install]
WantedBy=multi-user.target