Files
cairnobs/deploy/systemd/obs-beacon-agent.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

33 lines
864 B
Desktop File

# The agent's main process: unprivileged, read-only view of the host.
[Unit]
Description=Cairn OBS agent
Documentation=https://cairnobs.org
After=network-online.target obs-beacon-agent-helper.service
Wants=network-online.target obs-beacon-agent-helper.service
[Service]
User=obs-beacon
Group=obs-beacon
ExecStart=/usr/bin/obs-beacon-agent -config /etc/obs-beacon/agent.yaml
# Its certificate and key (agentlink): the only place it writes.
StateDirectory=obs-beacon-agent
StateDirectoryMode=0700
Restart=always
RestartSec=5
MemoryMax=64M
CPUQuota=10%
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=read-only
PrivateTmp=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=yes
RestrictRealtime=yes
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target