mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
reorder restore step
This commit is contained in:
parent
f19243c0e1
commit
4d8c7deb6a
1 changed files with 8 additions and 8 deletions
|
@ -77,6 +77,14 @@ ynh_script_progression --message="Restoring user rights..."
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R "$app":"$app" $final_path
|
chown -R "$app":"$app" $final_path
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CREATE LOG FOLDER
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Creating log folder..."
|
||||||
|
|
||||||
|
mkdir -p "/var/log/$app"
|
||||||
|
chown -R "$app":"$app" "/var/log/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -118,14 +126,6 @@ ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started plume"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started plume"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CREATE LOG FOLDER
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Creating log folder..."
|
|
||||||
|
|
||||||
mkdir -p "/var/log/$app"
|
|
||||||
chown -R "$app":"$app" "/var/log/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE LOGROTATE CONFIGURATION
|
# RESTORE THE LOGROTATE CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue