1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpsysinfo_ynh.git synced 2024-09-03 19:56:43 +02:00

error correction

This commit is contained in:
inrepublica 2016-05-25 21:55:21 +02:00
parent e7ec50b2a2
commit b93a9b9617
3 changed files with 3 additions and 9 deletions

View file

@ -18,7 +18,7 @@
"multi_instance": "false", "multi_instance": "false",
"services": [ "services": [
"nginx", "nginx",
"php5-fpm", "php5-fpm"
], ],
"arguments": { "arguments": {
"install" : [ "install" : [

View file

@ -27,10 +27,10 @@ if [[ ! $? -eq 0 ]]; then
exit 1 exit 1
fi fi
# Copy files to the right place # Copy source files
final_path=/var/www/$app final_path=/var/www/$app
sudo mkdir -p $final_path sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path sudo cp -a ../sources/. $final_path
# Create configuration file # Create configuration file
cp $final_path/phpsysinfo.ini.new $final_path/phpsysinfo.ini cp $final_path/phpsysinfo.ini.new $final_path/phpsysinfo.ini

View file

@ -21,11 +21,5 @@ sudo rm -rf /var/www/$app
# Remove configuration files # Remove configuration files
sudo rm -f /etc/nginx/conf.d/$domain.d/phpsysinfo.conf sudo rm -f /etc/nginx/conf.d/$domain.d/phpsysinfo.conf
# If app is public, delete url to SSOWat
if [[ $is_public -eq 1 ]];
then
ynh_app_setting_delete "$app" skipped_uris
fi
# Restart services # Restart services
sudo service nginx reload sudo service nginx reload