1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/facette_ynh.git synced 2024-09-03 18:36:02 +02:00

Update install

This commit is contained in:
Rafi59 2017-09-06 21:25:30 +02:00 committed by GitHub
parent 3fa7b2785d
commit 1103a44d12

View file

@ -90,13 +90,6 @@ ynh_add_nginx_config
# Create a system user
ynh_system_user_create $app
#=================================================
# PHP-FPM CONFIGURATION
#=================================================
# Create a dedicated php-fpm config
ynh_fpm_config
#=================================================
# SPECIFIC SETUP
#=================================================
@ -106,25 +99,6 @@ echo OPTS="-s facette"
OPTS="$OPTS -l unix:/var/run/rrdcached/rrdcached.sock"
OPTS="$OPTS -j /var/lib/rrdcached/journal/ -F"
OPTS="$OPTS -w 1800 -z 1800 -f 3600 -t 4" | tee
#=================================================
#=================================================
# SETUP APPLICATION WITH CURL
#=================================================
# Set right permissions for curl install
chown -R $app: $final_path
# Set the app as temporarily public for curl call
ynh_app_setting_set $app unprotected_uris "/"
# Reload SSOwat config
yunohost app ssowatconf
# Reload Nginx
systemctl reload nginx
# Installation with curl
ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3"
#=================================================
# STORE THE CHECKSUM OF THE CONFIG FILE