diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-04-05 18:43:10 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-04-05 18:43:10 -0500 |
| commit | 97689ed2db39f4be92ee58a90aa9dfdf6cc53dc0 (patch) | |
| tree | bb77c667f3fa7ff9a50649a961c7123cebf5a088 /bin/run | |
| parent | 42ac9209120b50140c0ee6893e88f2dcb61647b6 (diff) | |
| download | slskd-97689ed2db39f4be92ee58a90aa9dfdf6cc53dc0.tar.gz | |
update projects to .NET 10
Diffstat (limited to 'bin/run')
| -rwxr-xr-x | bin/run | 21 |
1 files changed, 2 insertions, 19 deletions
@@ -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 |
