aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/blog/2024-09-23-self-hosting-transmission.org17
-rw-r--r--utils/hooks/pre-commit8
2 files changed, 17 insertions, 8 deletions
diff --git a/content/blog/2024-09-23-self-hosting-transmission.org b/content/blog/2024-09-23-self-hosting-transmission.org
index 4cc9639..5b244ff 100644
--- a/content/blog/2024-09-23-self-hosting-transmission.org
+++ b/content/blog/2024-09-23-self-hosting-transmission.org
@@ -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
diff --git a/utils/hooks/pre-commit b/utils/hooks/pre-commit
deleted file mode 100644
index 69883fc..0000000
--- a/utils/hooks/pre-commit
+++ /dev/null
@@ -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