From 7138e316492f13baf8c942bd85e62822a801d882 Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:31:08 +0100 Subject: [PATCH] add some logging --- root/etc/s6-overlay/s6-rc.d/service-rtorrent/run | 1 + 1 file changed, 1 insertion(+) diff --git a/root/etc/s6-overlay/s6-rc.d/service-rtorrent/run b/root/etc/s6-overlay/s6-rc.d/service-rtorrent/run index 6ff13d4a..cdae87a9 100644 --- a/root/etc/s6-overlay/s6-rc.d/service-rtorrent/run +++ b/root/etc/s6-overlay/s6-rc.d/service-rtorrent/run @@ -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