diff --git a/setup_files/snowflake-install.sh b/setup_files/snowflake-install.sh index dcd819d..78a1cce 100644 --- a/setup_files/snowflake-install.sh +++ b/setup_files/snowflake-install.sh @@ -76,9 +76,9 @@ msg_ok "Installed Dependencies" msg_info "Install Snowflake" useradd -rm snowflake cd /home/snowflake -runuser -u snowflake --command 'git clone https://git.torproject.org/pluggable-transports/snowflake.git' +runuser --user snowflake --command 'git clone https://git.torproject.org/pluggable-transports/snowflake.git' cd /home/snowflake/snowflake -runuser -u snowflake --command 'go build' +runuser --user snowflake --command 'go build' wget https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/systemd_files/snowflake.service -O /etc/systemd/system/snowflake.service chmod 644 /etc/systemd/system/snowflake.service systemctl daemon-reload