How I can reconfigure aria2?
I made these steps
Stop services with dietpi-services stop
Edit the following configuration file /var/lib/dietpi/dietpi-software/installed/aria2.conf, making your required changes.
Start services with dietpi-services start
I need to change download dir
I put into config file
→ dir exists
→ checked /var/log/aria2.log, nothing there
well as far as I can see, config file should be located at the following location
At least that’s what the service is telling me. I marked it in orange.
root@DietPiVM1:~# systemctl status aria2.service
● aria2.service - Aria2 (DietPi)
Loaded: loaded (/etc/systemd/system/aria2.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2020-03-13 23:06:23 CET; 43s ago
Main PID: 678 (aria2c)
Tasks: 1 (limit: 1171)
└─678 > /usr/bin/aria2c --conf-path=/mnt/dietpi_userdata/aria2/aria2.conf
Mar 13 23:06:23 DietPiVM1 systemd: Started Aria2 (DietPi).
Mar 13 23:06:23 DietPiVM1 aria2c: 03/13 23:06:23 [NOTICE] IPv4 RPC: listening on TCP port 6800
Mar 13 23:06:23 DietPiVM1 aria2c: 03/13 23:06:23 [NOTICE] IPv6 RPC: listening on TCP port 6800
Thanks for help, it works
But I took info from there https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/89
It would be very fine to correct it, I saw wrong info not only there.
thx for the hint. I update the entry.
If you have more things that needs adjustment, let me know.
in this post please change
rm /mnt/dietpi_userdata/.MiniDLNA_Cache/* && systemctl restart minidlna
rm -r /mnt/dietpi_userdata/.MiniDLNA_Cache/* && systemctl restart minidlna
I know it is small change but previous doesn’t work because there are also directories.
And it is helpful for linux newbies
Also for aria2 we doesn’t need to restart all services.
Probably only restart aria2 is enough
systemctl restart aria2.service