aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run')
-rwxr-xr-xbin/run21
1 files changed, 2 insertions, 19 deletions
diff --git a/bin/run b/bin/run
index c62e36df..f57a88a5 100755
--- a/bin/run
+++ b/bin/run
@@ -1,20 +1,3 @@
-if [ -z "$1" ]; then
- echo "💥 error: no image specified; provide a valid image and tag (e.g. slskd/slskd:latest)"
- exit 1
-fi
+#!/bin/bash
-docker run -i \
- -p 5030:5030 \
- -p $SLSK_LISTEN_PORT:$SLSK_LISTEN_PORT \
- -v $SLSK_OUTPUT_DIR:/var/slsk/download \
- -v $SLSK_SHARED_DIR:/var/slsk/shared \
- -e "SLSK_USERNAME=$SLSK_USERNAME" \
- -e "SLSK_PASSWORD=$SLSK_PASSWORD" \
- -e "SLSK_LISTEN_PORT=$SLSK_LISTEN_PORT" \
- -e "SLSK_ENABLE_DNET=true" \
- -e "SLSK_DNET_CHILD_LIMIT=10" \
- -e "SLSK_DIAGNOSTIC=$SLSK_DIAGNOSTIC" \
- -e "SLSK_ENABLE_SECURITY=$SLSK_ENABLE_SECURITY" \
- -e "SLSK_CONNECT_TIMEOUT=5000" \
- -e "SLSK_INACTIVITY_TIMEOUT=15000" \
- $1 \ No newline at end of file
+dotnet run --project src/slskd/slskd.csproj \ No newline at end of file