cmc/cleberg.net
My personal web garden & blog.
clone: git clone https://gitbay.org/cmc/cleberg.net.git
6004bc8fea020555bf21d755ae52d9c04652dc9b
unsigned
author: Christian Cleberg <hello@cleberg.net> · 2025-01-26T22:39:08Z
content/blog/2024-09-23-self-hosting-transmission.org | 17 +++++++++++++++++ utils/hooks/pre-commit | 8 -------- 2 files changed, 17 insertions(+), 8 deletions(-) @@ -107,6 +107,23 @@ doing so now. Once you start working on remote access via a reverse proxy, you'll be adding an additional layer of complexity that bring in more confusion when errors occur. +> NOTE: If you are trying to initialize =transmission-daemon= via =systemd= +> instead of using the manually-executed command above, you may notice that the +> service will timeout and fail to start. + +To fix this timeout issue, you need to edit the service file and change +=Type=notify= to =Type=simple=. + +#+begin_src shell +# Command to edit the service file: +sudo systemctl edit --full transmission-daemon.service + +# Make the edit noted above and then reload the service file with this command: +sudo systemctl daemon-reload +sudo systemctl enable transmission-daemon.service +sudo systemctl start transmission-daemon.service +#+end_src + * Reverse Proxy Now that the service is running and configured properly, let's work on remote deleted file mode 100644 @@ -1,8 +0,0 @@ -# .git/hooks/pre-commit -#!/bin/bash -for file in $(git diff --cached --name-only | grep -E '\.org$'); do - if ! grep -q "^#\+TITLE:" "$file"; then - echo "Error: $file is missing a TITLE." - exit 1 - fi -done