uget+aria2 server config

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I have installed aria2 to my home server and configured it to run as daemon.
I also installed uget to my own pc and configured it to connect to aria2.
All works fine,but... whenever i close uget on my pc. Aria on server pauses downloading as well...Feels like i missing something. I want to get similar behaviour like transmission-daemon when i can launch download from any device and forget about it, but with all types of downloads not just torrents.



server:
ubuntu server 16.04.3 4.14.0-041400-lowlatency
aria 1.33.1
client:
ubuntu desktop 16.04.3
uget 2.2.0


init.d file stolen from web



#!/bin/sh
### BEGIN INIT INFO
# Provides: aria2
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: aria2c init script.
# Description: Starts and stops aria2 daemon.
### END INIT INFO
umask 0002
USER="aria2c"
DAEMON=/usr/local/bin/aria2c
CONF=/home/ghs/.aria2/aria2.conf
start()
if [ -f $CONF ]; then
echo "Starting aria2 daemon"
start-stop-daemon -S -c $USER -x $DAEMON -- -D --conf-path=$CONF
else
echo "Couldn't start aria2 daemon for $USER (no $CONF found)"
fi

stop()
start-stop-daemon -o -c $USER -K -u $USER -x $DAEMON

status()
dbpid=`pgrep -fu $USER $DAEMON`
if [ -z "$dbpid" ]; then
echo "aria2c daemon for USER $btsuser: not running."
else
echo "aria2c daemon for USER $btsuser: running (pid $dbpid)"
fi

case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload|force-reload)
stop
start
;;
status)
status
;;
*)
echo "Usage: /etc/init.d/aria2 force-reload"
exit 1
esac
exit 0


aria2.conf file



daemon=true
allow-overwrite=false
check-certificate=false
dir=/mnt/storage/Downloads
enable-rpc=true
rpc-listen-port=6800
rpc-listen-all=true
rpc-secret=topsecret
file-allocation=falloc
disable-ipv6=true
log=/home/ghs/.aria2/aria2.log
log-level=warn
auto-save-interval=30
save-session=/home/ghs/.aria2/aria2.sav
input-file=/home/ghs/.aria2/aria2.sav
save-session-interval=30
force-save=true
#check-integrity=true
continue=true
bt-min-crypto-level=arc4
bt-require-crypto=true
bt-request-peer-speed-limit=1M
disk-cache=100M
quiet=true
bt-load-saved-metadata=true
bt-save-metadata=true
follow-torrent=true


ls -la conf dir



ghs@GHS:~/.aria2$ ls -la
total 24
drwxrwx--- 1 aria2c aria2c 70 Feb 7 19:46 .
drwxr-xr-x 1 ghs ghs 428 Feb 7 14:40 ..
-r--r----- 1 aria2c aria2c 603 Feb 7 19:28 aria2.conf
-rw-rw---- 1 aria2c aria2c 3284 Feb 7 19:17 aria2.log
-rw-rw-r-- 1 aria2c aria2c 254 Feb 7 19:20 aria2.sav
-rw-rw-r-- 1 aria2c aria2c 10696 Feb 7 19:20 dht.dat









share|improve this question

























    up vote
    0
    down vote

    favorite












    I have installed aria2 to my home server and configured it to run as daemon.
    I also installed uget to my own pc and configured it to connect to aria2.
    All works fine,but... whenever i close uget on my pc. Aria on server pauses downloading as well...Feels like i missing something. I want to get similar behaviour like transmission-daemon when i can launch download from any device and forget about it, but with all types of downloads not just torrents.



    server:
    ubuntu server 16.04.3 4.14.0-041400-lowlatency
    aria 1.33.1
    client:
    ubuntu desktop 16.04.3
    uget 2.2.0


    init.d file stolen from web



    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides: aria2
    # Required-Start: $local_fs $remote_fs
    # Required-Stop: $local_fs $remote_fs
    # Should-Start: $network
    # Should-Stop: $network
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: aria2c init script.
    # Description: Starts and stops aria2 daemon.
    ### END INIT INFO
    umask 0002
    USER="aria2c"
    DAEMON=/usr/local/bin/aria2c
    CONF=/home/ghs/.aria2/aria2.conf
    start()
    if [ -f $CONF ]; then
    echo "Starting aria2 daemon"
    start-stop-daemon -S -c $USER -x $DAEMON -- -D --conf-path=$CONF
    else
    echo "Couldn't start aria2 daemon for $USER (no $CONF found)"
    fi

    stop()
    start-stop-daemon -o -c $USER -K -u $USER -x $DAEMON

    status()
    dbpid=`pgrep -fu $USER $DAEMON`
    if [ -z "$dbpid" ]; then
    echo "aria2c daemon for USER $btsuser: not running."
    else
    echo "aria2c daemon for USER $btsuser: running (pid $dbpid)"
    fi

    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    restart|reload|force-reload)
    stop
    start
    ;;
    status)
    status
    ;;
    *)
    echo "Usage: /etc/init.d/aria2 force-reload"
    exit 1
    esac
    exit 0


    aria2.conf file



    daemon=true
    allow-overwrite=false
    check-certificate=false
    dir=/mnt/storage/Downloads
    enable-rpc=true
    rpc-listen-port=6800
    rpc-listen-all=true
    rpc-secret=topsecret
    file-allocation=falloc
    disable-ipv6=true
    log=/home/ghs/.aria2/aria2.log
    log-level=warn
    auto-save-interval=30
    save-session=/home/ghs/.aria2/aria2.sav
    input-file=/home/ghs/.aria2/aria2.sav
    save-session-interval=30
    force-save=true
    #check-integrity=true
    continue=true
    bt-min-crypto-level=arc4
    bt-require-crypto=true
    bt-request-peer-speed-limit=1M
    disk-cache=100M
    quiet=true
    bt-load-saved-metadata=true
    bt-save-metadata=true
    follow-torrent=true


    ls -la conf dir



    ghs@GHS:~/.aria2$ ls -la
    total 24
    drwxrwx--- 1 aria2c aria2c 70 Feb 7 19:46 .
    drwxr-xr-x 1 ghs ghs 428 Feb 7 14:40 ..
    -r--r----- 1 aria2c aria2c 603 Feb 7 19:28 aria2.conf
    -rw-rw---- 1 aria2c aria2c 3284 Feb 7 19:17 aria2.log
    -rw-rw-r-- 1 aria2c aria2c 254 Feb 7 19:20 aria2.sav
    -rw-rw-r-- 1 aria2c aria2c 10696 Feb 7 19:20 dht.dat









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have installed aria2 to my home server and configured it to run as daemon.
      I also installed uget to my own pc and configured it to connect to aria2.
      All works fine,but... whenever i close uget on my pc. Aria on server pauses downloading as well...Feels like i missing something. I want to get similar behaviour like transmission-daemon when i can launch download from any device and forget about it, but with all types of downloads not just torrents.



      server:
      ubuntu server 16.04.3 4.14.0-041400-lowlatency
      aria 1.33.1
      client:
      ubuntu desktop 16.04.3
      uget 2.2.0


      init.d file stolen from web



      #!/bin/sh
      ### BEGIN INIT INFO
      # Provides: aria2
      # Required-Start: $local_fs $remote_fs
      # Required-Stop: $local_fs $remote_fs
      # Should-Start: $network
      # Should-Stop: $network
      # Default-Start: 2 3 4 5
      # Default-Stop: 0 1 6
      # Short-Description: aria2c init script.
      # Description: Starts and stops aria2 daemon.
      ### END INIT INFO
      umask 0002
      USER="aria2c"
      DAEMON=/usr/local/bin/aria2c
      CONF=/home/ghs/.aria2/aria2.conf
      start()
      if [ -f $CONF ]; then
      echo "Starting aria2 daemon"
      start-stop-daemon -S -c $USER -x $DAEMON -- -D --conf-path=$CONF
      else
      echo "Couldn't start aria2 daemon for $USER (no $CONF found)"
      fi

      stop()
      start-stop-daemon -o -c $USER -K -u $USER -x $DAEMON

      status()
      dbpid=`pgrep -fu $USER $DAEMON`
      if [ -z "$dbpid" ]; then
      echo "aria2c daemon for USER $btsuser: not running."
      else
      echo "aria2c daemon for USER $btsuser: running (pid $dbpid)"
      fi

      case "$1" in
      start)
      start
      ;;
      stop)
      stop
      ;;
      restart|reload|force-reload)
      stop
      start
      ;;
      status)
      status
      ;;
      *)
      echo "Usage: /etc/init.d/aria2 force-reload"
      exit 1
      esac
      exit 0


      aria2.conf file



      daemon=true
      allow-overwrite=false
      check-certificate=false
      dir=/mnt/storage/Downloads
      enable-rpc=true
      rpc-listen-port=6800
      rpc-listen-all=true
      rpc-secret=topsecret
      file-allocation=falloc
      disable-ipv6=true
      log=/home/ghs/.aria2/aria2.log
      log-level=warn
      auto-save-interval=30
      save-session=/home/ghs/.aria2/aria2.sav
      input-file=/home/ghs/.aria2/aria2.sav
      save-session-interval=30
      force-save=true
      #check-integrity=true
      continue=true
      bt-min-crypto-level=arc4
      bt-require-crypto=true
      bt-request-peer-speed-limit=1M
      disk-cache=100M
      quiet=true
      bt-load-saved-metadata=true
      bt-save-metadata=true
      follow-torrent=true


      ls -la conf dir



      ghs@GHS:~/.aria2$ ls -la
      total 24
      drwxrwx--- 1 aria2c aria2c 70 Feb 7 19:46 .
      drwxr-xr-x 1 ghs ghs 428 Feb 7 14:40 ..
      -r--r----- 1 aria2c aria2c 603 Feb 7 19:28 aria2.conf
      -rw-rw---- 1 aria2c aria2c 3284 Feb 7 19:17 aria2.log
      -rw-rw-r-- 1 aria2c aria2c 254 Feb 7 19:20 aria2.sav
      -rw-rw-r-- 1 aria2c aria2c 10696 Feb 7 19:20 dht.dat









      share|improve this question













      I have installed aria2 to my home server and configured it to run as daemon.
      I also installed uget to my own pc and configured it to connect to aria2.
      All works fine,but... whenever i close uget on my pc. Aria on server pauses downloading as well...Feels like i missing something. I want to get similar behaviour like transmission-daemon when i can launch download from any device and forget about it, but with all types of downloads not just torrents.



      server:
      ubuntu server 16.04.3 4.14.0-041400-lowlatency
      aria 1.33.1
      client:
      ubuntu desktop 16.04.3
      uget 2.2.0


      init.d file stolen from web



      #!/bin/sh
      ### BEGIN INIT INFO
      # Provides: aria2
      # Required-Start: $local_fs $remote_fs
      # Required-Stop: $local_fs $remote_fs
      # Should-Start: $network
      # Should-Stop: $network
      # Default-Start: 2 3 4 5
      # Default-Stop: 0 1 6
      # Short-Description: aria2c init script.
      # Description: Starts and stops aria2 daemon.
      ### END INIT INFO
      umask 0002
      USER="aria2c"
      DAEMON=/usr/local/bin/aria2c
      CONF=/home/ghs/.aria2/aria2.conf
      start()
      if [ -f $CONF ]; then
      echo "Starting aria2 daemon"
      start-stop-daemon -S -c $USER -x $DAEMON -- -D --conf-path=$CONF
      else
      echo "Couldn't start aria2 daemon for $USER (no $CONF found)"
      fi

      stop()
      start-stop-daemon -o -c $USER -K -u $USER -x $DAEMON

      status()
      dbpid=`pgrep -fu $USER $DAEMON`
      if [ -z "$dbpid" ]; then
      echo "aria2c daemon for USER $btsuser: not running."
      else
      echo "aria2c daemon for USER $btsuser: running (pid $dbpid)"
      fi

      case "$1" in
      start)
      start
      ;;
      stop)
      stop
      ;;
      restart|reload|force-reload)
      stop
      start
      ;;
      status)
      status
      ;;
      *)
      echo "Usage: /etc/init.d/aria2 force-reload"
      exit 1
      esac
      exit 0


      aria2.conf file



      daemon=true
      allow-overwrite=false
      check-certificate=false
      dir=/mnt/storage/Downloads
      enable-rpc=true
      rpc-listen-port=6800
      rpc-listen-all=true
      rpc-secret=topsecret
      file-allocation=falloc
      disable-ipv6=true
      log=/home/ghs/.aria2/aria2.log
      log-level=warn
      auto-save-interval=30
      save-session=/home/ghs/.aria2/aria2.sav
      input-file=/home/ghs/.aria2/aria2.sav
      save-session-interval=30
      force-save=true
      #check-integrity=true
      continue=true
      bt-min-crypto-level=arc4
      bt-require-crypto=true
      bt-request-peer-speed-limit=1M
      disk-cache=100M
      quiet=true
      bt-load-saved-metadata=true
      bt-save-metadata=true
      follow-torrent=true


      ls -la conf dir



      ghs@GHS:~/.aria2$ ls -la
      total 24
      drwxrwx--- 1 aria2c aria2c 70 Feb 7 19:46 .
      drwxr-xr-x 1 ghs ghs 428 Feb 7 14:40 ..
      -r--r----- 1 aria2c aria2c 603 Feb 7 19:28 aria2.conf
      -rw-rw---- 1 aria2c aria2c 3284 Feb 7 19:17 aria2.log
      -rw-rw-r-- 1 aria2c aria2c 254 Feb 7 19:20 aria2.sav
      -rw-rw-r-- 1 aria2c aria2c 10696 Feb 7 19:20 dht.dat






      uget






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 7 at 17:59









      user3769205

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003955%2fugetaria2-server-config%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003955%2fugetaria2-server-config%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491