2017-07-13 16:09:42 +03:00
|
|
|
#!/usr/bin/env ssm
|
2014-08-02 22:17:26 +04:00
|
|
|
|
|
|
|
cfg_ovpn_instance="${service_name##*-}"
|
|
|
|
|
2018-03-08 02:34:49 +03:00
|
|
|
service_respawn=on-failure
|
2017-12-10 20:44:17 +03:00
|
|
|
service_command=( /usr/bin/openvpn client.cfg )
|
2014-08-02 22:17:26 +04:00
|
|
|
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
|