ssm-services/services/openvpn

8 lines
186 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ssm
2014-08-02 18:17:26 +00:00
cfg_ovpn_instance="${service_name##*-}"
service_respawn=on-failure
service_command=( /usr/bin/openvpn client.cfg )
2014-08-02 18:17:26 +00:00
service_workdir="/etc/openvpn/$cfg_ovpn_instance"