Skip to content

Instantly share code, notes, and snippets.

@samicrusader
Created April 1, 2024 04:42
Show Gist options
  • Save samicrusader/8e394f951e9731393b04050a46a373bb to your computer and use it in GitHub Desktop.
Save samicrusader/8e394f951e9731393b04050a46a373bb to your computer and use it in GitHub Desktop.
flood systemd for rtorrent w/ noauth
[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