Improve service dependency management

This commit is contained in:
coolneng 2022-12-12 00:15:47 +01:00
parent 4ec5710dba
commit 001a293264
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ in {
requires = [ "systemd-udev-settle.service" ]; requires = [ "systemd-udev-settle.service" ];
after = [ "systemd-udev-settle.service" ]; after = [ "systemd-udev-settle.service" ];
conflicts = [ "umount.target" ]; conflicts = [ "umount.target" ];
requiredBy = [ "syncthing.service" "radicale.service" "gitea.service" ];
}; };
# HACK: restart services dependent on ZFS afer mount # HACK: restart services dependent on ZFS afer mount

View File

@ -200,5 +200,6 @@
"radicale.service" "radicale.service"
"dendrite.service" "dendrite.service"
"phpfpm-wallabag.service" "phpfpm-wallabag.service"
"systemd-tmpfiles-setup.service"
]; ];
} }