mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
Update restore
This commit is contained in:
parent
22c17083a4
commit
cb1e18a57f
1 changed files with 6 additions and 1 deletions
|
@ -38,7 +38,12 @@ chown -R $app:www-data "$data_dir"
|
||||||
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=4
|
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=4
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/opt/simplex"
|
ynh_restore_file --origin_path="/etc/opt/simplex"
|
||||||
chown -R $app:$app "/etc/opt/simplex"
|
ynh_restore_file --origin_path="/etc/opt/simplex-xftp"
|
||||||
|
|
||||||
|
ynh_restore_file --origin_path="/var/opt/simplex"
|
||||||
|
ynh_restore_file --origin_path="/var/opt/simplex-xftp"
|
||||||
|
|
||||||
|
chown -R $app:$app /var/opt/simplex-xftp /var/opt/simplex /etc/opt/simplex-xftp /etc/opt/simplex
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||||
systemctl enable $app.service --quiet
|
systemctl enable $app.service --quiet
|
||||||
|
|
Loading…
Add table
Reference in a new issue