aria2: Deploy aria2 download manager
The *aria2* role installs the *aria2* download manager and sets it up to run as a system service with RPC enabled. It also sets up the web UI, though that must be installed manually from an archive, for now.
This commit is contained in:
5
roles/aria2/files/aria2.httpd.conf
Normal file
5
roles/aria2/files/aria2.httpd.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
Alias /aria2 /var/lib/aria2/webui
|
||||
|
||||
<Location /aria2>
|
||||
Require all granted
|
||||
</Location>
|
||||
11
roles/aria2/files/aria2.service
Normal file
11
roles/aria2/files/aria2.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=aria2 Download Manager
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=aria2
|
||||
Group=aria2
|
||||
ExecStart=/usr/bin/aria2c --daemon=false --conf-path=/etc/aria2.conf --log=-
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user