aboutsummaryrefslogtreecommitdiffstats
path: root/bin/run
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-05 18:43:10 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-05 18:43:10 -0500
commit97689ed2db39f4be92ee58a90aa9dfdf6cc53dc0 (patch)
treebb77c667f3fa7ff9a50649a961c7123cebf5a088 /bin/run
parent42ac9209120b50140c0ee6893e88f2dcb61647b6 (diff)
downloadslskd-97689ed2db39f4be92ee58a90aa9dfdf6cc53dc0.tar.gz
update projects to .NET 10
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