From 3e0c47c6e594b6e8c0a5621ec1f259a856da1ce8 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Sun, 23 Apr 2023 15:25:40 +0200 Subject: [PATCH] try fix Since 7.3 Service manager in the onlyoffice-documentserver packages changed from supervisord to systemd to get rid of excess dependence and simplify functionality for end users. --- scripts/install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 72ba446..d5cfb0f 100644 --- a/scripts/install +++ b/scripts/install @@ -143,10 +143,6 @@ echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyof ynh_package_update ynh_package_install onlyoffice-documentserver -supervisorctl reload - -sleep 30 - #================================================= # ADD A CONFIGURATION #================================================= @@ -171,7 +167,8 @@ chown -R ds:ds "$final_path" #================================================= ynh_script_progression --message="Starting a systemd service..." -supervisorctl reload +ynh_systemd_action --service_name=ds-* --action=reload +#ynh_systemd_action --service_name=ds-* --action=restart sleep 30