Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi

if [ -n "$RPC_SECRET" ]; then
sed -i '/^rpc-secret=/d' $conf_path/aria2.conf
printf 'rpc-secret=%s\n' "${RPC_SECRET}" >>$conf_path/aria2.conf
printf '\nrpc-secret=%s\n' "${RPC_SECRET}" >>$conf_path/aria2.conf

if [ -n "$EMBED_RPC_SECRET" ]; then
echo "Embedding RPC secret into ariang Web UI"
Expand Down