Aria2: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
==Create a systemd service to run in background on boot== | ==Create a systemd service to run in background on boot== | ||
<code> | <code> | ||
[Unit] | [Unit] | ||
Description=Aria2 RPC Service | Description=Aria2 RPC Service | ||
After=network.target | After=network.target | ||
[Service] | [Service] | ||
Type=forking | Type=forking | ||
User=aria2 | User=aria2 | ||
ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon | ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon | ||
[Install] | [Install] | ||
WantedBy=default.target | WantedBy=default.target | ||
</code> | </code> | ||
Line 38: | Line 38: | ||
https://aria2.github.io/<br> | https://aria2.github.io/<br> | ||
https://github.com/ziahamza/webui-aria2 | https://github.com/ziahamza/webui-aria2 | ||
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