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

systemd config renamed to $app-daemon

This commit is contained in:
OniriCorpe 2024-02-13 21:57:51 +01:00
parent 625aa670c9
commit f594bf4cd2
4 changed files with 4 additions and 4 deletions

View file

@ -55,7 +55,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================
ynh_backup --src_path="/var/log/$app/daemon.log"
ynh_backup --src_path="/etc/systemd/system/$app.service"
ynh_backup --src_path="/etc/systemd/system/$app-daemon.service"
#=================================================
# BACKUP THE MYSQL DATABASE

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Adding system configurations related to $app..
# Create a dedicated PHP-FPM configy
ynh_add_fpm_config
ynh_add_systemd_config
ynh_add_systemd_config --service="$app-daemon"
# Create a dedicated nginx config
ynh_add_nginx_config

View file

@ -27,7 +27,7 @@ ynh_remove_logrotate
ynh_remove_fail2ban_config
ynh_remove_systemd_config
ynh_remove_systemd_config --service="$app-daemon"
#=================================================
# END OF SCRIPT

View file

@ -44,7 +44,7 @@ ynh_restore_file --origin_path="/var/log/$app/daemon.log"
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
ynh_restore_file --origin_path="/etc/systemd/system/$app-daemon.service"
ynh_restore_file --origin_path="/etc/fail2ban/jail.d/$app.conf"
ynh_restore_file --origin_path="/etc/fail2ban/filter.d/$app.conf"