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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
62092b2fae
commit
b4e2236a72
+1
-1
@@ -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/'],
|
||||
|
||||
Reference in New Issue
Block a user