This commit is contained in:
Jack L. Frost 2014-08-02 22:17:26 +04:00
parent bd71089073
commit ad1b1bc282
2 changed files with 9 additions and 0 deletions

8
init.d/openvpn Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env watchman
cfg_ovpn_instance="${service_name##*-}"
service_respawn='true'
service_command="/usr/sbin/openvpn"
service_workdir="/etc/openvpn/$cfg_ovpn_instance"
service_args="client.cfg"

1
init.d/openvpn-example Symbolic link
View File

@ -0,0 +1 @@
openvpn