Commit 59da4bfd authored by Gregor Kleen's avatar Gregor Kleen
Browse files

nixos/pppd: switch systemd service type to notify

parent af6fb00b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -96,7 +96,8 @@ in
              ];
            in
            {
              ExecStart = "${getBin cfg.package}/sbin/pppd call ${peerCfg.name} nodetach nolog";
              Type = "notify";
              ExecStart = "${getBin cfg.package}/sbin/pppd call ${peerCfg.name} up_sdnotify nolog";
              Restart = "always";
              RestartSec = 5;