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:
parent
3fa7b2785d
commit
1103a44d12
1 changed files with 0 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue