Files
cairnobs/deploy/systemd/obs-beacond.service
T
jcoffey-dev db156c4f06
release / release (push) Successful in 7m6s
Cairn OBS
The new Cairn OBS: a self-hosted monitor for networks, hosts and
services. Licensed AGPLv3.
2026-11-14 03:27:09 -07:00

31 lines
729 B
Desktop File

[Unit]
Description=Cairn OBS server
Documentation=https://cairnobs.org
After=network-online.target
Wants=network-online.target
[Service]
User=obs-beacon
Group=obs-beacon
ExecStart=/usr/bin/obs-beacond -config /etc/obs-beacon/obs-beacond.yaml
Restart=always
RestartSec=5
MemoryMax=512M
StateDirectory=obs-beacon
# Ports 80 and 443 for tls.acme; nothing else.
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=yes
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target