Files
logdigest/logdigest.service
Dirk Stoecker 78d3c8b39c Accepting request 1120388 from home:mschreiner:branches:server:monitoring
- Migrate from cron to systemd timers.
- Added systemd services:
  - logdigest.service
  - logdigest-all-ignores-autogeneration.service
- Added systemd timers:
  - logdigest.timer (runs daily)
  - logdigest-all-ignores-autogeneration.timer (runs every 30 minutes,
    like the old cron job)
- Fixes bsc#1115444.

OBS-URL: https://build.opensuse.org/request/show/1120388
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/logdigest?expand=0&rev=61
2023-11-16 16:46:11 +00:00

18 lines
462 B
Desktop File

[Unit]
Description=Grep through system log files and mail them to the sysadmin
After=logrotate.service
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=oneshot
ExecStart=/usr/share/logdigest/logdigest