Giter VIP home page Giter VIP logo

Comments (7)

echpiel avatar echpiel commented on June 4, 2024 1

@chros73: It works fine with your init script. Now I am really curious about the reasons why it works with an init script and it fails with a systemd service file.

Anyway, I will leave it working with an init script that I will write based on your working example. Thanks.

from rtorrent-ps.

chros73 avatar chros73 commented on June 4, 2024

/home/rtorrent/bin/rtorrent is a symlink to /opt/rtorrent/bin/rtorrent

Small correction: it should be this (and you don't need your symlink):
ln -s /opt/rtorrent/bin/rtorrent /usr/local/bin

Environment=TERM=xterm-256color

Do NOT set TERM env var! See why.

Any clue on how to try to solve this issue?

I use a normal init script on Ubuntu 14.04 instead of systemd and it works fine, try it out, maybe it solves your problem.

from rtorrent-ps.

echpiel avatar echpiel commented on June 4, 2024

@chros73: Thanks for your answer and tips.

The link is really irrelevant, I wrote about it just to make the error message more clear.

About the TERM variable, I also have the tmux setting for 256 colors in .tmux.conf. I have just checked it and you are right, exporting TERM is not needed, so I have deleted the Environment line even if I have not experimented any problems with the rendering of rTorrent.

Many thanks for the init script. I will adapt and check it as soon as possible and let you know the results.

from rtorrent-ps.

chros73 avatar chros73 commented on June 4, 2024

Now I am really curious about the reasons why it works with an init script and it fails with a systemd service file.

I haven't used systemd services, so I don't have a clue: we can script anything with the init script method. :)

from rtorrent-ps.

janlukes avatar janlukes commented on June 4, 2024

It crashes for me too. Same scenario.

from rtorrent-ps.

smasher816 avatar smasher816 commented on June 4, 2024

My system runs for a while, then periodically crashes.

$ systemctl --user status rtorrent
● rtorrent.service - rTorrent Daemon
   Loaded: loaded (/home/rtorrent/.config/systemd/user/rtorrent.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2016-10-30 13:22:36 PDT; 3h 35min ago
 Main PID: 13994 (tmux: server)
   CGroup: /user.slice/user-1001.slice/[email protected]/rtorrent.service
           ├─13994 /usr/bin/tmux -2 new-session -s rtorrent -n rtorrent -d /usr/bin/rtorrent
           └─22449 irssi

Oct 30 13:22:36 hostname systemd[24167]: Starting rTorrent Daemon...
Oct 30 13:22:36 hostname systemd[24167]: Started rTorrent Daemon.
Oct 30 15:27:34 hostname systemd-coredump[8223]: Process 13995 (rtorrent main) of user 1001 dumped core.

                                              Stack trace of thread 13995:
                                              #0  0x00007f9fe1b3004f raise (libc.so.6)
                                              #1  0x00007f9fe1b3147a abort (libc.so.6)
                                              #2  0x00007f9fe24474bd _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++
                                              #3  0x00007f9fe2445276 _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6)
                                              #4  0x00007f9fe2444209 __cxa_call_terminate (libstdc++.so.6)

from rtorrent-ps.

pyroscope avatar pyroscope commented on June 4, 2024

Closing, since things like this are upstream problems unless shown otherwise.

from rtorrent-ps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.