|
|
@ -131,11 +131,13 @@ ynh_script_progression --message="Starting a systemd service..." --time --weight
|
|
|
|
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
|
|
|
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
|
|
|
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
#=================================================
|
|
|
|
# RESTORE THE CRON FILE
|
|
|
|
# RESTORE VARIOUS FILES
|
|
|
|
#=================================================
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
|
|
|
|
ynh_restore_file --origin_path="/etc/cron.d/$app"
|
|
|
|
ynh_restore_file --origin_path="/etc/cron.d/$app"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ynh_restore_file --origin_path="/etc/$app/"
|
|
|
|
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
#=================================================
|
|
|
|
# RESTORE THE LOGROTATE CONFIGURATION
|
|
|
|
# RESTORE THE LOGROTATE CONFIGURATION
|
|
|
|
#=================================================
|
|
|
|
#=================================================
|
|
|
|