| 1 | [Unit] |
| 2 | Description=daily AIDE check |
| 3 | Documentation=file:/usr/share/doc/aide/README.Debian.gz |
| 4 | Requires=dailyaidecheck-buildcache.service |
| 5 | After=dailyaidecheck-buildcache.service |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=no |
| 10 | Restart=no |
| 11 | User=_aide |
| 12 | Group=_aide |
| 13 | AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_AUDIT_WRITE |
| 14 | # we need those to see the "real" system |
| 15 | PrivateDevices=no |
| 16 | # We cannot use any of systemd's sandboxing features here since |
| 17 | # that would mask away a couple of /run subdirectories including |
| 18 | # /run/credentials |
| 19 | ExecStart=/usr/share/aide/bin/dailyaidecheck --systemdservice |
| 20 | |
| 21 |