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
{
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;