Commit 6004bc8fea
Unsigned
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, | ||
| 107 | 107 | you'll be adding an additional layer of complexity that bring in more confusion |
| 108 | 108 | when 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 | ||
| 114 | To 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: | |
| 119 | sudo systemctl edit --full transmission-daemon.service | |
| 120 | ||
| 121 | # Make the edit noted above and then reload the service file with this command: | |
| 122 | sudo systemctl daemon-reload | |
| 123 | sudo systemctl enable transmission-daemon.service | |
| 124 | sudo systemctl start transmission-daemon.service | |
| 125 | #+end_src | |
| 126 | ||
| 110 | 127 | * Reverse Proxy |
| 111 | 128 | |
| 112 | 129 | Now 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 | |
| 3 | for 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 | |
| 8 | done | |