summaryrefslogtreecommitdiff
path: root/debian/openvpn.service
blob: 58669f4d200e87b9eeb42145bb5517007d0bca5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This service is actually a systemd target,
# but we are using a service since targets cannot be reloaded.

[Unit]
Description=OpenVPN service
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecReload=/bin/true
WorkingDirectory=/etc/openvpn
ProtectSystem=yes

[Install]
WantedBy=multi-user.target