Skip to content

Commit

Permalink
add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Feb 19, 2024
1 parent db4b652 commit 7138e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/service-rtorrent/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ARGS=""
if [[ -f "${CONFIG_DIR}/wireguard/forwarded_port" ]]; then
port=$(sed -n '1p' "${CONFIG_DIR}/wireguard/forwarded_port")
ARGS="-p ${port}-${port}"
echo "[INF] [$(date '+%Y-%m-%d %H:%M:%S')] [RTORRENT] Starting on port [${port}]."
fi

# shellcheck disable=SC2086
Expand Down

0 comments on commit 7138e31

Please sign in to comment.