1
0
Fork 0
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:
Tagada 2023-09-23 17:28:00 +02:00 committed by GitHub
parent 9460b859e9
commit 16f76a7301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,8 @@ mkdir -p "/var/log/$app"
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
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"
#=================================================
# START SYSTEMD SERVICE