16 lines
327 B
SYSTEMD
16 lines
327 B
SYSTEMD
|
[Unit]
|
||
|
Description=Level 2 Tunnel Protocol Daemon (L2TP)
|
||
|
After=network.target
|
||
|
After=ipsec.service
|
||
|
# Some ISPs in Russia use l2tp without IPsec, so don't insist anymore
|
||
|
#Wants=ipsec.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
PIDFile=/run/xl2tpd/xl2tpd.pid
|
||
|
ExecStart=/usr/bin/xl2tpd -D
|
||
|
Restart=on-abort
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|