diff --git a/doc/ADMIN.md b/doc/ADMIN.md deleted file mode 100644 index c9b5225..0000000 --- a/doc/ADMIN.md +++ /dev/null @@ -1,3 +0,0 @@ -This is a dummy admin doc for this app - -The app install dir is `__INSTALL_DIR__` diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md deleted file mode 100644 index a138028..0000000 --- a/doc/ADMIN_fr.md +++ /dev/null @@ -1,3 +0,0 @@ -Ceci est une fausse doc d'admin pour cette app - -Le dossier d'install de l'app est `__INSTALL_DIR__` diff --git a/scripts/install b/scripts/install index da8e855..9d16cbe 100755 --- a/scripts/install +++ b/scripts/install @@ -41,12 +41,12 @@ chmod 644 "/etc/cron.d/$app" #================================================= # ADD A CONFIGURATION #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +#ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" +#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" -chmod 400 "$install_dir/config.php" -chown $app:$app "$install_dir/config.php" +#chmod 400 "$install_dir/config.php" +#chown $app:$app "$install_dir/config.php" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 154a1aa..a95a754 100755 --- a/scripts/restore +++ b/scripts/restore @@ -46,8 +46,6 @@ ynh_restore_file --origin_path="/etc/cron.d/$app" #================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -# Typically you only have either $app or php-fpm but not both at the same time... -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" ynh_systemd_action --service_name=php$phpversion-fpm --action=reload ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 584ac13..48c6521 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,19 +48,12 @@ ynh_add_nginx_config #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +#ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" +#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" -chmod 400 "$install_dir/config.php" -chown $app:$app "$install_dir/config.php" - -#================================================= -# START SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Starting a systemd service..." --weight=1 - -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +#chmod 400 "$install_dir/config.php" +#chown $app:$app "$install_dir/config.php" #================================================= # END OF SCRIPT