This commit is contained in:
keoma
2019-02-26 21:00:45 +01:00
parent b1c667817b
commit 5c90da1a79
2 changed files with 12 additions and 2 deletions

View File

@@ -212,3 +212,7 @@ function vpnclient_deploy_files_and_services()
# Reload systemd configuration
systemctl daemon-reload
}
function service_is_managed_by_yunohost() {
yunohost service status $1 >/dev/null 2>&1
}