Comments (7)
@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.
/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.
@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.
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.
It crashes for me too. Same scenario.
from rtorrent-ps.
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.
Closing, since things like this are upstream problems unless shown otherwise.
from rtorrent-ps.
Related Issues (20)
- DHT unusable on armhf, need help recompiling HOT 2
- Typo in xmlrpc-c-advanced-2954/common.mk
- Latest, unable to build centos 6.5. HOT 4
- Deleting files, or make large changes makes ruTorrent/rTorrent time out HOT 1
- Bad method Key Error
- Weird issue - seeds "frozen" or not killed based on slots.. not re-added to the queue HOT 2
- rtorrent-ps with pyroscope... HOT 1
- Read past initial payload after incoming encrypted handshake. HOT 1
- See schedules already set HOT 1
- Bug in libtorrent (rakshasa) <0.9.8 HOT 1
- Buildscript does not work on arch linux HOT 2
- rtorrent status in terminal window's title
- Is this still in maintenance? HOT 1
- Feature: Add load.import command
- xmplrpc-c does not build on Debian Bullseye aarch64 (via Docker)
- bintray binaries unavailable HOT 2
- Migrate from rtorrent to rtorrent-ps
- Specifying `--json -o active` along with `--start` generates a python dict related error
- Will there ever be new binaries? HOT 1
- Unable to build rtorrent-ps on ODROID-HC4 (Debian 10) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtorrent-ps.