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