release / release (push) Successful in 7m6s
The new Cairn OBS: a self-hosted monitor for networks, hosts and services. Licensed AGPLv3.
32 lines
970 B
Desktop File
32 lines
970 B
Desktop File
# The backup scan: root, because the backup directories belong to their
|
|
# senders' users and smartctl needs the disks. It only lists directories,
|
|
# reads file sizes and times, and asks systemd and smartctl; no network,
|
|
# and it writes nothing but its own state directory.
|
|
[Unit]
|
|
Description=Cairn OBS backup scan (read-only)
|
|
Documentation=https://cairnobs.org
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/obs-beacon-agent scan -config /etc/obs-beacon/backups.yaml -out /var/lib/obs-beacon-scan/backups.json
|
|
StateDirectory=obs-beacon-scan
|
|
StateDirectoryMode=0750
|
|
Group=obs-beacon
|
|
UMask=0027
|
|
TimeoutStartSec=3min
|
|
MemoryMax=64M
|
|
Nice=10
|
|
IOSchedulingClass=idle
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
PrivateNetwork=yes
|
|
RestrictAddressFamilies=AF_UNIX
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
LockPersonality=yes
|
|
MemoryDenyWriteExecute=yes
|
|
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_SYS_RAWIO CAP_SYS_ADMIN
|