ssm-services/init.d/openvpn
fbt 2205f72a2e watchman -> ssm
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:09:42 +03:00

9 lines
197 B
Plaintext
Executable File

#!/usr/bin/env ssm
cfg_ovpn_instance="${service_name##*-}"
service_respawn='true'
service_command="/usr/bin/openvpn"
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
service_args=( client.cfg )