Package Details: aria2cd 1.4.2-1

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/packages/aria2cd
Keywords: aria2 systemd
Licenses: LicenseRef-WTFPL
Submitter: ZhangHua
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 1
Popularity: 0.000112
First Submitted: 2021-09-02 09:14 (UTC)
Last Updated: 2024-03-26 13:18 (UTC)

Latest Comments

Aut0mata commented on 2024-01-02 03:18 (UTC)

Process: 2335 ExecStartPre=/usr/bin/update-aria2-tracker (code=exited, status=217/USER) (-tracker)[2335]: aria2@user.service: Failed to determine user credentials: No such process systemd[1]: aria2@user.service: Control process exited, code=exited, status=217/USER systemd[1]: aria2@user.service: Failed with result 'exit-code'. systemd[1]: Failed to start Aria2c Daemon for user.

ZhangHua commented on 2021-09-08 10:59 (UTC)

@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 (UTC)

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 (UTC) (edited on 2021-09-07 13:49 (UTC) by ZhangHua)

@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 (UTC)

enabling system service giving following error :

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