mirror of
https://github.com/YunoHost-Apps/code-server_ynh.git
synced 2024-09-03 18:16:28 +02:00
Update scripts/restore
This commit is contained in:
parent
9460b859e9
commit
16f76a7301
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ mkdir -p "/var/log/$app"
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
yunohost service add $app --description="VS Code Server" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="VS Code Server" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
ynh_permission_update --permission="main" --add="$admin"
|
||||||
chown -R $admin:$admin "$data_dir"
|
chown -R $admin:$admin "$data_dir"
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue