Closed crsantos closed 8 years ago
Are you compiling rtorrent from the latest source? Here is the commit that allows rtorrent to run as a daemon (without screen or tmux). https://github.com/rakshasa/rtorrent/commit/5a56fbd5d15c8e3fa64df54111c2265c5a3da103
Do you have this in your rtorrent.rc?: system.daemon.set = true
OMG, so that makes sense... I opted for the only apt available version but I guess system.daemon.set = true
is only available on the latest one. So I guess I removed that line.
I completely forgot that I removed that line.
Many thanks @xombiemp 🎉
Not really sure if this is a bad config but my
systemd
'srtorrent.service
is not starting.My config has the same
ExecStart
:ExecStart=/usr/bin/rtorrent -n -o import=/var/lib/rtorrent/rtorrent.rc
rtorrent used to require an interactive session, don't know if now it runs as a daemon... That's what I found weird. How can you run it without
screen
ortmux
?On the process of debugging I found this error:
Error opening terminal: unknown.
but quickly found out that theexport TERM
was missing, so I add it to thertorrent.service
file:Environment=TERM=xterm
.Now, with the proper term set, I get this output from
journalctl
:I can't find a reason for rtorrent to die like this unless is the requirement of an interactive session. Did anyone suffer from something like this?