1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
bozon_ynh/scripts/restore
2016-03-25 09:49:10 +01:00

10 lines
215 B
Bash

#! /bin/bash
app=bozon
app_path=/var/www/$app
save_path=$1
sudo mv $save_path $app_path
sudo chown -R www-data: $app_path/private
sudo chown -R www-data: $app_path/uploads
sudo chown -R www-data: $app_path/thumbs