Last active
November 6, 2020 03:56
-
-
Save reallyimeric/901a7bfa8de075f2f7cb92bd57ce814f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/systemd/system/aria2.service | |
| [Unit] | |
| Description=Aria2 Service | |
| After=network.target | |
| [Service] | |
| User=aria2 | |
| ExecStart=/usr/bin/aria2c --conf-path=/var/lib/aria2/.config/aria2/config | |
| KillSignal=SIGINT | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/sysusers.d/aria2.conf | |
| u aria2 1069 "Aria2 Daemon" /var/lib/aria2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/tmpfiles.d/aria2.conf | |
| d /var/lib/aria2 0750 aria2 aria2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /var/lib/aria2/.config/aria2/config | |
| continue | |
| daemon=false | |
| dir=/var/lib/aria2 | |
| max-connection-per-server=10 | |
| save-session=/var/lib/aria2/.config/aria2/session | |
| input-file=/var/lib/aria2/.config/aria2/session | |
| enable-rpc | |
| rpc-listen-all | |
| rpc-secret=_BNwKOZwWKSN-63vhubMr1B9xlkJsFVx | |
| download-result=hide | |
| summary-interval=0 | |
| show-console-readout=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment