Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61929 - [rtorrent] add systemd service

Attached to Project: Community Packages
Opened by Alexandre ZANNI (noraj) - Wednesday, 06 March 2019, 23:00 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 24 July 2019, 21:24 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

rTorrent 0.9.7+ includes [https://github.com/rakshasa/rtorrent/wiki/Daemon_Mode a daemon mode]. See [https://github.com/rakshasa/rtorrent/pull/446 this issue] for more details on how to use it, especially [https://github.com/rakshasa/rtorrent/pull/446#issuecomment-410493583 this comment] for the configuration syntax.

So we could probably provides a systemd service file:

{{hc|rtorrent.service|<nowiki>
[Unit]
Description=rTorrent Daemon
After=network.target

[Service]
Type=simple
KillMode=forking
User=sdbox
ExecStart=/usr/bin/rtorrent -o system.daemon.set=true
WorkingDirectory=%h
Restart=on-failure

[Install]
WantedBy=multi-user.target
</nowiki>}}
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 24 July 2019, 21:24 GMT
Reason for closing:  Upstream
Comment by Gaetan Bisson (vesath) - Saturday, 16 March 2019, 17:37 GMT
Could you propose adding this service file upstream? Ideally they should distribute this file as part of the release tarballs but I know it's a bit optimistic on my part. Still I'd like to know if they have strong objections before including the service file in our package. Cheers.
Comment by Alexandre ZANNI (noraj) - Saturday, 16 March 2019, 18:16 GMT Comment by Gaetan Bisson (vesath) - Saturday, 16 March 2019, 19:18 GMT
Awesome. Let's wait for a week and if there's no reply by then I'll include your service file. Thanks a lot.
Comment by Alexandre ZANNI (noraj) - Saturday, 16 March 2019, 19:35 GMT
The example I provided is just a guess, it is not actually working.
Comment by Gaetan Bisson (vesath) - Wednesday, 24 July 2019, 21:24 GMT
Since upstream is discussing including such a service file and rakshasa explicitely stated he was open to pull requests on this, I'll close this as an upstream matter. Cheers.

Loading...