nixos/pppd: switch systemd service type to notify

This commit is contained in:
Gregor Kleen
2023-12-12 08:26:35 +01:00
parent af6fb00b8c
commit 59da4bfd38

View File

@@ -96,7 +96,8 @@ in
]; ];
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"; Restart = "always";
RestartSec = 5; RestartSec = 5;