Merge branch 'init_script' into 'master'
Add systemd startup script See merge request l2tpns/l2tpns!4
This commit is contained in:
commit
33183e1f4b
1 changed files with 12 additions and 0 deletions
12
scripts/l2tpns.service
Normal file
12
scripts/l2tpns.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Layer 2 tunneling protocol network server (LNS)
|
||||
After=network.target
|
||||
Documentation=man:l2tpns(8) man:startup-config(5)
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/default/l2tpns
|
||||
ExecStart=/usr/sbin/l2tpns $L2TPNS_OPTS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue