You are not logged in.
I am trying to setup a server with rtorrent, but it closes or will not run.
[Unit]
Description=rTorrent
Requires=network.target local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
KillMode=none
User=nobody
ExecStart=/usr/bin/tmux new-session -s rt -n rtorrent -d rtorrent
ExecStop=/usr/bin/tmux send-keys -t rt:rtorrent C-q
[Install]
WantedBy=multi-user.targetI following commands, works find in terminal.
[root@Server ~]# sudo -u nobody tmux new-session -s rt -n rtorrent -d rtorrent
[root@Server ~]# sudo -u nobody tmux send-keys -t rt:rtorrent C-q
[root@Server ~]# sudo -u nobody tmux attach -t rtSo it is not because rtorrent cannot run as nobody, so does anyone know what I am doing wrong?
Offline
Not an Arch discussion, moving to Apps & DEs...
Offline