- Remove tmpwatch.daily cron script, replace it with systemd timer. - Remove cron as a dependency. - Add tmpwatch.service, tmpwatch.timer, rename tmpwatch.daily as /usr/sbin/tmpwatch-autoclean. The systemd timer/service triggers this newly named script. - This change is related to bsc#1115430. OBS-URL: https://build.opensuse.org/request/show/1117557 OBS-URL: https://build.opensuse.org/package/show/Base:System/tmpwatch?expand=0&rev=27
11 lines
151 B
SYSTEMD
11 lines
151 B
SYSTEMD
[Unit]
|
|
Description=Automatic clean-up execution of tmpwatch
|
|
|
|
[Timer]
|
|
OnCalendar=Daily
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|