Aria2: Difference between revisions

From James's Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 15: Line 15:
  sudo make install
  sudo make install


sudo adduser aria2c
==Create a systemd service to run in background on boot==
<code>
[Unit]
Description=Aria2 RPC Service
After=network.target
[Service]
Type=forking
User=aria2
ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon
[Install]
WantedBy=default.target
</code>





Latest revision as of 02:29, 25 November 2017

Compile, install, configure aria2 from scratch on a raspberry pi 3 (stretch)

you can check for the latest version here: https://aria2.github.io/

wget https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.bz2
tar xvjf aria2-1.33.1.tar.bz2
cd aria2whatever
./configure
make
sudo make install


sudo adduser aria2c

Create a systemd service to run in background on boot

[Unit]
Description=Aria2 RPC Service
After=network.target

[Service]
Type=forking
User=aria2
ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon

[Install]
WantedBy=default.target


References

https://aria2.github.io/
https://github.com/ziahamza/webui-aria2