-
-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot figure out Daemon Mode #949
Comments
Try "system.daemon.set = true", it's the setting I use with the latest git and rtorrent loads as a daemon without issue running as a systemd service. |
This one is working for me, just remember to change user, paths etc to correspond to your setup. I use the daemon mode. |
You don't need ExecStop=/bin/kill -9 $MAINPID, systemd kills the service on its own without issues using KillMode=process. My systemd looks like this and I've never had any issue with it in 2~3 years: [Unit] [Service] [Install] source: https://www.freedesktop.org/software/systemd/man/systemd.service.html |
Can someone clear up the versions when each of these should be used? There are several examples of each being used, but without an adequate level of documentation to discern one from the other. |
|
As with (almost) all $command/$command.set pairs, the former returns the current setting, while the latter allows you to change it. As such, |
There is no need to delete rtorrent.lock if you set in config:
My systemd service is:
You can enable it with: systemctl enable [email protected] |
That setting is good if you want/don't care about multiples instances. My rtorrent is on a seedbox, and I don't want to worry about someone/something else other than systemd starting another rtorrent session/process on the same user. |
The proper way to handle stale locks is this: |
I am trying to configure RTorrent to run as a service without screen/xterm/etc
I am using the new
system.daemon = true
flag in the .rc configuration file (as well as in ExecStart= with -o), however it is not making any difference.*** rTorrent 0.9.8/0.13.8 ***
journalctl -xe entry:
The text was updated successfully, but these errors were encountered: