forgot we're not using a smart language
This commit is contained in:
@@ -38,7 +38,14 @@ RestartSec=3
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer
|
||||
ARCH="$(uname -m)"
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-x86_64
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-arm
|
||||
fi
|
||||
|
||||
chmod +x app/wolServer
|
||||
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user