Commit 6004bc8fea

6004bc8fea020555bf21d755ae52d9c04652dc9b

parent: af386793e7

Unsigned

cmc <hello@cleberg.net> · 2025-01-26 22:39 UTC

add systemd note to transmission post

Layout: unified · split

content/blog/2024-09-23-self-hosting-transmission.org +17
@@ -107,6 +107,23 @@ doing so now. Once you start working on remote access via a reverse proxy,
107you'll be adding an additional layer of complexity that bring in more confusion 107you'll be adding an additional layer of complexity that bring in more confusion
108when errors occur. 108when errors occur.
109 109
110> NOTE: If you are trying to initialize =transmission-daemon= via =systemd=
111> instead of using the manually-executed command above, you may notice that the
112> service will timeout and fail to start.
113
114To fix this timeout issue, you need to edit the service file and change
115=Type=notify= to =Type=simple=.
116
117#+begin_src shell
118# Command to edit the service file:
119sudo systemctl edit --full transmission-daemon.service
120
121# Make the edit noted above and then reload the service file with this command:
122sudo systemctl daemon-reload
123sudo systemctl enable transmission-daemon.service
124sudo systemctl start transmission-daemon.service
125#+end_src
126
110* Reverse Proxy 127* Reverse Proxy
111 128
112Now that the service is running and configured properly, let's work on remote 129Now that the service is running and configured properly, let's work on remote
utils/hooks/pre-commit deleted −8
@@ -1,8 +0,0 @@
1# .git/hooks/pre-commit
2#!/bin/bash
3for file in $(git diff --cached --name-only | grep -E '\.org$'); do
4 if ! grep -q "^#\+TITLE:" "$file"; then
5 echo "Error: $file is missing a TITLE."
6 exit 1
7 fi
8done