assets/systemd/roowho2.service: wait for network

This commit is contained in:
2026-07-21 18:10:18 +09:00
parent f1f8b8d0d1
commit 7008468cf8
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,4 +1,6 @@
[Unit]
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
+4
View File
@@ -313,6 +313,10 @@ in {
# };
systemd.services.roowho2 = {
# rwhod needs the network devices to be available for enumeration before starting.
after = lib.mkIf cfg.settings.rwhod.enable [ "network-online.target" ];
wants = lib.mkIf cfg.settings.rwhod.enable [ "network-online.target" ];
serviceConfig = {
Type = "notify";
ExecStart = let