release / release (push) Successful in 7m6s
The new Cairn OBS: a self-hosted monitor for networks, hosts and services. Licensed AGPLv3.
33 lines
864 B
Desktop File
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
|