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:
parent
625aa670c9
commit
f594bf4cd2
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue