SHA256
1
0
forked from pool/openvpn

- Add --askpass to ExecStart, so that the user name and password

are correctly being queried from the user.
  (bsc#1078026, boo#985798, boo#1031748)
- Use %service_add/del macros throughout (bsc#1038406).

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=131
This commit is contained in:
2018-02-13 18:21:21 +00:00
committed by Git OBS Bridge
parent 2481fda7a6
commit f33ffa2f73
3 changed files with 14 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ PartOf=openvpn.target
Type=forking
PrivateTmp=true
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
ExecStart=/usr/sbin/openvpn --daemon --askpass --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
[Install]