mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/pppd: switch systemd service type to notify
This commit is contained in:
parent
af6fb00b8c
commit
59da4bfd38
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue