arch-pkgs/rtorrent-systemd/systemd.service

17 lines
317 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=rTorrent daemon
After=network-online.target
[Service]
User=rtorrent
Group=rtorrent
Type=simple
KillMode=process
ExecStartPre=/usr/lib/rtorrent/cleanlock
ExecStart=/usr/bin/rtorrent -n -o import=/etc/rtorrent/rtorrent.conf
TimeoutStopSec=30
Restart=on-failure
[Install]
WantedBy=multi-user.target