mirror of
https://github.com/fscotto/infra.git
synced 2026-09-28 03:03:49 +00:00
26 lines
720 B
Django/Jinja
26 lines
720 B
Django/Jinja
[Unit]
|
|
Description=Check Atlas pool, disks, capacity, temperatures and maintenance jobs
|
|
Wants=houston-dbus.service network-online.target
|
|
After=zfs.target houston-dbus.service network-online.target
|
|
ConditionFileIsExecutable=/usr/local/libexec/atlas-health-monitor
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/libexec/atlas-health-monitor
|
|
User=root
|
|
Group=root
|
|
UMask=0077
|
|
StateDirectory=atlas-health-monitor
|
|
StateDirectoryMode=0700
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectHome=true
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/var/lib/atlas-health-monitor
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
RestrictRealtime=true
|
|
LockPersonality=true
|