1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00
This commit is contained in:
Éric Gaspar 2023-08-21 18:40:35 +02:00
parent 105a7b020f
commit d684c992a4
2 changed files with 0 additions and 13 deletions

View file

@ -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
#=================================================

View file

@ -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
#=================================================