You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freshtomato-arm/release/src-rt-6.x.4708/router/xl2tpd/debian/xl2tpd.service

21 lines
598 B
INI

[Unit]
Description=Level 2 Tunnel Protocol Daemon (L2TP)
After=network-online.target
# Some ISPS use l2tp without IPsec. If that is the case for your ISP provider,
# comment out the two lines below
After=ipsec.service
Wants=ipsec.service
[Service]
Type=simple
Environment=XL2TPD_RUN_DIR=/var/run/xl2tpd
EnvironmentFile=-/etc/default/xl2tpd
# Not using RuntimeDirectory since this directory may be modified in /etc/default/xl2tpd
ExecStartPre=-mkdir -p $XL2TPD_RUN_DIR
ExecStart=/usr/sbin/xl2tpd -D $DAEMON_OPTS
PIDFile=/run/xl2tpd/xl2tpd.pid
Restart=on-abort
[Install]
WantedBy=multi-user.target