Files
tmpwatch/tmpwatch.service
Dirk Mueller 824d1201da Accepting request 1117557 from home:mschreiner:branches:Base:System
- 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
2023-10-16 22:18:06 +00:00

17 lines
451 B
Desktop File

[Unit]
Description=Automatic clean-up execution of tmpwatch
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=oneshot
ExecStart=/bin/bash -ce "/usr/sbin/tmpwatch-autoclean"