mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
[mod] actually need to reload stuff at the end
This commit is contained in:
parent
a4dfaae583
commit
2baec12c25
1 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,6 @@ sudo chown -R www-data: $final_path
|
||||||
|
|
||||||
sudo yunohost app setting noalyss version -v "6.9.0.0"
|
sudo yunohost app setting noalyss version -v "6.9.0.0"
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
|
||||||
sudo service nginx reload
|
|
||||||
sudo yunohost app ssowatconf
|
|
||||||
|
|
||||||
if [[ "$path" == "" ]]; then
|
if [[ "$path" == "" ]]; then
|
||||||
sed -i "s@LOCATIONTOCHANGE@/@g" ../conf/nginx.conf
|
sed -i "s@LOCATIONTOCHANGE@/@g" ../conf/nginx.conf
|
||||||
else
|
else
|
||||||
|
@ -42,3 +38,7 @@ finalphpconf=/etc/php5/fpm/pool.d/noalyss.conf
|
||||||
sudo cp ../conf/php-fpm.conf $finalphpconf
|
sudo cp ../conf/php-fpm.conf $finalphpconf
|
||||||
sudo chown root: $finalphpconf
|
sudo chown root: $finalphpconf
|
||||||
sudo chmod 644 $finalphpconf
|
sudo chmod 644 $finalphpconf
|
||||||
|
|
||||||
|
# Reload Nginx and regenerate SSOwat conf
|
||||||
|
sudo service nginx reload
|
||||||
|
sudo yunohost app ssowatconf
|
||||||
|
|
Loading…
Reference in a new issue