1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Add synapse as service (#15)

This commit is contained in:
Josue-T 2017-05-26 15:31:44 +02:00 committed by GitHub
parent f1ee16dc77
commit bfc07c81c1
2 changed files with 5 additions and 0 deletions

View file

@ -111,6 +111,9 @@ sudo cp ../conf/logrotate /etc/logrotate.d/$app
ynh_app_setting_set $app skipped_uris "/" ynh_app_setting_set $app skipped_uris "/"
# register yunohost service
sudo yunohost service add matrix-synapse
# Régénère la configuration de SSOwat # Régénère la configuration de SSOwat
sudo yunohost app ssowatconf sudo yunohost app ssowatconf
# Recharge la configuration Nginx # Recharge la configuration Nginx

View file

@ -35,6 +35,8 @@ sudo rm -rf /etc/apt/sources.list.d/matrix.list
sudo rm -rf /var/lib/matrix-synapse sudo rm -rf /var/lib/matrix-synapse
ynh_package_update ynh_package_update
sudo yunohost service remove matrix-synapse
# Régénère la configuration de SSOwat # Régénère la configuration de SSOwat
sudo yunohost app ssowatconf sudo yunohost app ssowatconf
sudo service nginx reload sudo service nginx reload