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

This commit is contained in:
Josué Tille 2017-05-26 15:29:12 +02:00
parent d531423806
commit f6e9aa93e9
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 "/"
# register yunohost service
sudo yunohost service add matrix-synapse
# Régénère la configuration de SSOwat
sudo yunohost app ssowatconf
# 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
ynh_package_update
sudo yunohost service remove matrix-synapse
# Régénère la configuration de SSOwat
sudo yunohost app ssowatconf
sudo service nginx reload