LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2018, 06:15 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
aria2c does not start as daemon?


I want to start the aria2c as daemon in the ubuntu 18.04, but didn't start as daemon to use web gui clients, this is ~/.aria2/aria2.conf
Code:
daemon=true
continue
dir=/home/me/Downloads/
file-allocation=falloc
log-level=warn
check-certificate=false
max-connection-per-server=8
summary-interval=120
max-concurrent-downloads=3
enable-dht=false
http-auth-challenge=true
save-session=/homr/me/.aria2/aria.save
input-file=/home/me/.aria2/input.conf
log=/var/log/aria2/aria.log
max-overall-download-limit=0
min-split-size=5M
enable-http-pipelining=true
enable-rpc=true
rpc-listen-all=true
# rpc-user=rpcuser
# rpc-passwd=rpcpass
listen-port=6800
# dht-listen-port=6800
seed-ratio=1.0
max-overall-upload-limit=5k
max-upload-limit=2K
ftp-pasv=true
file-allocation=none
# on-download-complete=exit
disable-ipv6=true
disk-cache=25M
timeout=600
retry-wait=30
max-tries=50
I run it with this option but still does not start as daemon:
Quote:
/usr/bin/aria2c -D -c --conf-path=/home/me/.aria2/aria2.conf --enable-rpc --rpc-listen-all --rpc-listen-port=6800 --log=/var/log/aria2/aria.log
after running the above command check the process:
Code:
$ ps aux | grep aria2c
me    23196  0.0  0.0  17576  1120 pts/0    S+   15:41   0:00 grep --color=auto aria2c
and there is no log dir aria2 in /var/log
 
Old 06-22-2018, 10:12 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
From the man page; emphasis added
Code:
-D, --daemon[=true|false]
    Run as daemon. The current working directory will be changed to / and standard input, 
standard output and standard error will be redirected to /dev/null. Default: false
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
script not working to start aria2c daemon? shams Linux - Server 1 04-11-2017 02:13 AM
putting aria2c in background shamimzaki Linux - Software 2 11-19-2009 07:44 AM
Bash script to verify the daemon is working if not, start the daemon kishoreru Linux - Newbie 7 09-23-2009 04:29 AM
Enable daemon to run with service daemon start,etc baddah Programming 6 12-02-2007 05:51 PM
how to configure aria2c for metalink download sn68 Linux - Desktop 0 02-13-2007 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration