Be more conservative about respawn

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-03-08 02:34:49 +03:00
parent 8ead4b8c47
commit eea04dff95
35 changed files with 15 additions and 35 deletions

View File

@@ -2,6 +2,6 @@
cfg_ovpn_instance="${service_name##*-}"
service_respawn='true'
service_respawn=on-failure
service_command=( /usr/bin/openvpn client.cfg )
service_workdir="/etc/openvpn/$cfg_ovpn_instance"