- systemd unit for ippp [SME: 12876] - systemd unit for wan [SME: 12875]
22 lines
593 B
Desktop File
22 lines
593 B
Desktop File
[Unit]
|
|
Description=Koozali SME Server ippp service for dialup
|
|
After=network-pre.target
|
|
After=networking.service
|
|
Requires=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
#this needs to be updated in a dropin file
|
|
Environment=pppopts="user sme name sme noauth debug -vj -vjccomp -bsdcomp -ac -pc noipdefault ipcp-accept-local ipcp-accept-remote ipparam diald"
|
|
ExecStartPre=-/sbin/e-smith/service-status ippp
|
|
ExecStartPre=/sbin/e-smith/systemd/ippp-pre
|
|
ExecStart=/usr/sbin/ipppd ippp0 -detach -hostroute $pppopts
|
|
|
|
Restart=always
|
|
RestartSec=20s
|
|
SyslogIdentifier=ippp
|
|
|
|
[Install]
|
|
WantedBy=sme-server.target
|
|
|