#--------------------------------------------------------------------------- # /usr/lib/systemd/system/ppp.service - service unit # # Creation: 2024-12-19 hbfl # Last Update: $Id$ # # Copyright (c) 2011-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------- [Unit] Description=PPP link to dsl After=network.target [Service] Type=notify # load modules ExecStartPre=/usr/libexec/dsl/dsl start ExecStart=/usr/sbin/pppd call dsl nodetach up_sdnotify # after restart restart services also ExecStartPost=/usr/libexec/dsl/dsl start-post ExecReload=/usr/bin/kill -HUP $MAINPID SuccessExitStatus=0 5 12 13 14 # unload modules and stop services ExecStop=/usr/sbin/pppd disconnect /usr/libexec/dsl/dsl stop Restart=on-failure [Install] WantedBy=multi-user.target