Package Details: aria2cd 1.1-2

Git Clone URL: https://aur.archlinux.org/aria2cd.git (read-only, click to copy)
Package Base: aria2cd
Description: A systemd Service to start aria2 automatically.
Upstream URL: https://aur.archlinux.org/aria2cd.git
Keywords: aria2 systemd
Licenses: custom:WTFPL
Submitter: ZhangHua
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-02 09:14
Last Updated: 2021-10-04 07:17

Latest Comments

ZhangHua commented on 2021-09-08 10:59

@mmkodali According to aria2 manual(http://aria2.github.io/manual/en/html/aria2c.html#aria2-conf), the default config path is ${HOME}/.aria2/aria2.conf or ${XDG_CONFIG_HOME}/aria2/aria2.conf. So it should work without modifying unit file.

mmkodali commented on 2021-09-08 10:16

Thanks for the advice.

commenting the line Requires=network.target, User=%i and adding --conf-path=/home/xxxx/.aria2/aria2.conf to aria2c allowed me to run the service.

ZhangHua commented on 2021-09-07 13:42

@mmkodali Don't enable service with systemctl enable aria2@.service, this service file is a template unit. You should use systemctl enable aria2@user.service instead. See note part of https://wiki.archlinux.org/title/systemd#Using_units for more details. In this unit file, specifier user means username who runs aria2. You should also copy /usr/share/aria2 to /home/user/.aria2 and modify /home/user/.aria2/aria2.conf, or the service will not start normally because you don't have needed config.

mmkodali commented on 2021-09-07 12:56

enabling system service giving following error :

Failed to enable unit: File multi-user.target: Identifier removed