Fixing snowflake (again)

This commit is contained in:
Steven Seifried 2022-10-09 19:59:12 +02:00
parent 6d96de7933
commit 24ab338bc0
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -76,9 +76,9 @@ msg_ok "Installed Dependencies"
msg_info "Install Snowflake" msg_info "Install Snowflake"
useradd -rm snowflake useradd -rm snowflake
cd /home/snowflake cd /home/snowflake
runuser -u snowflake -c 'git clone https://git.torproject.org/pluggable-transports/snowflake.git' runuser -u snowflake --command 'git clone https://git.torproject.org/pluggable-transports/snowflake.git'
cd /home/snowflake/snowflake cd /home/snowflake/snowflake
runuser -u snowflake -c 'go build' runuser -u snowflake --command 'go build'
wget https://raw.githubusercontent.com/StevenSeifried/proxmox-scripts/main/systemd_files/snowflake.service -O /etc/systemd/system/snowflake.service 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 chmod 644 /etc/systemd/system/snowflake.service
systemctl daemon-reload systemctl daemon-reload