Skip to content

Instantly share code, notes, and snippets.

@anhhh11
Forked from h0tw1r3/aria2.daemon
Created March 29, 2019 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anhhh11/90f3f271055e07a271a3692b10d7570c to your computer and use it in GitHub Desktop.
Save anhhh11/90f3f271055e07a271a3692b10d7570c to your computer and use it in GitHub Desktop.
Aria2c systemd service
continue
dir=/var/www/downloads
file-allocation=trunc
max-connection-per-server=4
max-concurrent-downloads=2
max-overall-download-limit=0
min-split-size=25M
[Unit]
Description=Aria2c download manager
After=network.target
[Service]
Type=simple
User=www-data
ExecStart=/usr/bin/aria2c --console-log-level=warn --enable-rpc --rpc-listen-all --conf-path=/etc/aria2.daemon
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment