Created
August 8, 2017 15:10
-
-
Save pessom/91aece7c270f0f0d919b5b2ae9498738 to your computer and use it in GitHub Desktop.
Start xl2tpd with systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=IPsec connect | |
| After=network.target racoon.service | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/sbin/xl2tpd -D -p /var/run/xl2tpd.pid -c /etc/xl2tpd/xl2tpd.conf | |
| Restart=on-abort | |
| PIDFile=/var/run/xl2tpd.pid | |
| [Install] | |
| WantedBy=multi-user.target |
Author
Might require a:
ExecStartPre=/bin/mkdir -p /var/run/xl2tpd/
in this case no
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might require a: