summaryrefslogtreecommitdiff
path: root/community/xl2tpd/xl2tpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/xl2tpd/xl2tpd.service')
-rw-r--r--community/xl2tpd/xl2tpd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/xl2tpd/xl2tpd.service b/community/xl2tpd/xl2tpd.service
new file mode 100644
index 000000000..b47cadf02
--- /dev/null
+++ b/community/xl2tpd/xl2tpd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Level 2 Tunnel Protocol Daemon (L2TP)
+After=syslog.target 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=/var/run/xl2tpd/xl2tpd.pid
+ExecStart=/usr/sbin/xl2tpd -D
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target