No more service_name
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
pkg_dependencies="php7.0-fpm sipcalc dnsutils openvpn curl fake-hwclock"
|
||||
|
||||
service_name="ynh-vpnclient"
|
||||
service_checker_name=$service_name"-checker"
|
||||
|
||||
to_logs() {
|
||||
|
||||
# When yunohost --verbose or bash -x
|
||||
@@ -200,7 +203,3 @@ function vpnclient_deploy_files_and_services()
|
||||
|
||||
ynh_add_systemd_config $service_checker_name "$service_checker_name.service"
|
||||
}
|
||||
|
||||
function service_is_managed_by_yunohost() {
|
||||
yunohost service status $1 >/dev/null 2>&1
|
||||
}
|
||||
|
Reference in New Issue
Block a user