]> git.pld-linux.org Git - packages/openvpn.git/blame - openvpn@.service
- add --suppress-timestamps when systemd logs data
[packages/openvpn.git] / openvpn@.service
CommitLineData
ec6e7d04
JR
1[Unit]
2Description=OpenVPN tunnel on %I
3Requires=openvpn.target
4After=openvpn.target
5PropagateReloadFrom=openvpn.target
7d0baea5
AM
6Documentation=man:openvpn(8)
7Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
8Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
ec6e7d04
JR
9
10[Service]
7d0baea5 11Type=notify
ec6e7d04
JR
12PrivateTmp=true
13EnvironmentFile=-/etc/sysconfig/openvpn
14PIDFile=/var/run/openvpn/%i.pid
80486563 15ExecStart=/usr/sbin/openvpn --suppress-timestamps --writepid /var/run/openvpn/%i.pid --config /etc/openvpn/%i.conf --cd /etc/openvpn $OPENVPN_OPT
ec6e7d04 16ExecReload=/bin/kill -HUP $MAINPID
7d0baea5
AM
17CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE
18LimitNPROC=10
19DeviceAllow=/dev/null rw
20DeviceAllow=/dev/net/tun rw
21ProtectSystem=true
22ProtectHome=true
23KillMode=process
ec6e7d04
JR
24
25[Install]
26WantedBy=openvpn.target
This page took 0.053826 seconds and 4 git commands to generate.