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!
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!
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
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
|
DetailsDescription:
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
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
Asked: https://github.com/rakshasa/rtorrent/issues/844
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.