To be able to enable timer it needs to have WantedBy in [Install] section. Let's add a hyperkitty.target to that section. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
12 lines
231 B
SYSTEMD
12 lines
231 B
SYSTEMD
[Unit]
|
|
Description=Run hyperkitty weekly maintenance every week
|
|
Requires=hyperkitty.target
|
|
PartOf=hyperkitty.target
|
|
|
|
[Timer]
|
|
OnCalendar=Mon *-*-* 00:00:00
|
|
RandomizedDelaySec=3h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=hyperkitty.target
|