systemd-tmpfiles: don't install timer when service isn't installed either

Fixes: systemd-tmpfiles-clean.timer: Refusing to start, unit
systemd-tmpfiles-clean.service to trigger not loaded.
This commit is contained in:
Pascal de Bruijn 2019-11-22 09:20:20 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 62092b2fae
commit b4e2236a72
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ units = [
['systemd-poweroff.service', ''],
['systemd-reboot.service', ''],
['systemd-rfkill.socket', 'ENABLE_RFKILL'],
['systemd-tmpfiles-clean.timer', '',
['systemd-tmpfiles-clean.timer', 'ENABLE_TMPFILES',
'timers.target.wants/'],
['systemd-udevd-control.socket', '',
'sockets.target.wants/'],