From d684c992a4840d52dd0e6f9b4d4330d7fa8f2d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:40:35 +0200 Subject: [PATCH] fix --- scripts/install | 2 -- scripts/upgrade | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/scripts/install b/scripts/install index 4b819e2..95d3517 100644 --- a/scripts/install +++ b/scripts/install @@ -38,8 +38,6 @@ chmod -R 775 "$install_dir/view/smarty3" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -echo "d /run/friendica 0755 www-data www-data -" > /etc/tmpfiles.d/friendica.conf - #================================================= # SYSTEM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fdd9d63..d5acece 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -58,10 +58,6 @@ ynh_add_nginx_config # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=low --footprint=low -ynh_add_systemd_config - -yunohost service add $app --description="Friendica daemon" --log="/var/log/$app/$app.log" - ynh_use_logrotate --non-append # Create a dedicated Fail2Ban config @@ -77,13 +73,6 @@ pushd "$install_dir" ynh_exec_as "$app" php$phpversion bin/console dbstructure update popd -#================================================= -# 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" - #================================================= # END OF SCRIPT #=================================================