mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
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.
This commit is contained in:
parent
ade3b9361f
commit
3e0c47c6e5
1 changed files with 2 additions and 5 deletions
|
@ -143,10 +143,6 @@ echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyof
|
||||||
ynh_package_update
|
ynh_package_update
|
||||||
ynh_package_install onlyoffice-documentserver
|
ynh_package_install onlyoffice-documentserver
|
||||||
|
|
||||||
supervisorctl reload
|
|
||||||
|
|
||||||
sleep 30
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -171,7 +167,8 @@ chown -R ds:ds "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
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
|
sleep 30
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue