Created
April 1, 2024 04:42
-
-
Save samicrusader/8e394f951e9731393b04050a46a373bb to your computer and use it in GitHub Desktop.
flood systemd for rtorrent w/ noauth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Flood | |
After=network.target | |
[Service] | |
User=rtorrent | |
Group=rtorrent | |
Type=simple | |
KillMode=process | |
ExecStart=/usr/bin/npm run start -- --host 127.0.0.1 --port 8080 --baseuri /flood --auth none --rtsocket /run/rtorrent/rpc.sock | |
WorkingDirectory=/opt/flood | |
Restart=on-failure | |
RestartSec=3 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment