File: openvpn@.service

package info (click to toggle)
openvpn 2.3.4-5+deb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 7,696 kB
  • ctags: 7,034
  • sloc: ansic: 62,206; sh: 12,587; makefile: 362; perl: 66
file content (15 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=OpenVPN connection to %i
PartOf=openvpn.service
ReloadPropagatedFrom=openvpn.service

[Service]
Type=forking
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/etc/openvpn

[Install]
WantedBy=multi-user.target