]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - ppp/systemd/pppd@.service
ppp: Update package files to work with the new pppd-angel.
[people/arne_f/ipfire-3.x.git] / ppp / systemd / pppd@.service
index a99c7cc73d874a87713e106d9b2ddd9666abc62a..3298c69feed1bfee8ce07c0d832888164e1dfe70 100644 (file)
@@ -1,14 +1,7 @@
 [Unit]
 Description=Point-to-Point protocol daemon on %I
-BindTo=dev-%I.device
-After=dev-%I.device
 
 [Service]
-Type=forking
-ExecStartPre=/usr/lib/network/helpers/pppd-config-helper create %I
-ExecStart=/usr/sbin/pppd file /run/network/ppp/%I/pppd.conf
-ExecStopPost=/usr/lib/network/helpers/pppd-config-helper remove %I
-PIDFile=/run/ppp-%I.pid
-Restart=failure
+ExecStart=/usr/lib/network/helpers/pppd-angel %I
 UtmpIdentifier=%I
 KillMode=process