diff --git a/scripts/upgrade b/scripts/upgrade index f386544..24948a7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,7 +34,8 @@ fi chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +chown -R $app:$app "$install_dir" +chmod -R ug+x "$install_dir/headscale" #================================================= # NGINX CONFIGURATION