bundles/pppd: make sure dependent services are stopped before restarting pppoe session
This commit is contained in:
parent
7e4c69c3f1
commit
0aafeb96cd
5 changed files with 54 additions and 2 deletions
|
@ -7,8 +7,8 @@ Type=oneshot
|
|||
RemainAfterExit=true
|
||||
ExecStart=/usr/bin/pon
|
||||
ExecStop=/usr/bin/poff -a
|
||||
# This is important, because otherwise systemd will kill the ip-down scripts!
|
||||
KillMode=none
|
||||
ExecStop=/etc/ppp/wait-until-stopped
|
||||
TimeoutStopSec=90
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue