Please check commit message at febe70f13512 if you are updating from 1.x.x to 2.x.x and later.
Search Criteria
Package Details: aria2cd 2.0.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/aria2cd.git (read-only, click to copy) |
---|---|
Package Base: | aria2cd |
Description: | A script and systemd serice 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: | 2 |
Popularity: | 0.67 |
First Submitted: | 2021-09-02 09:14 (UTC) |
Last Updated: | 2025-04-17 10:43 (UTC) |
Dependencies (6)
- aria2 (aria2-gitAUR, aria2-proAUR, aria2-fastAUR, aria2-unlimitedAUR)
- bash (bash-devel-gitAUR, bash-gitAUR)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-uutils-symlinkAUR)
- grep (grep-gitAUR, grep-compatAUR)
- sed (sed-gitAUR)
- systemd (systemd-fmlAUR, systemd-selinuxAUR, systemd-gitAUR)
Required by (0)
Sources (4)
Latest Comments
ZhangHua commented on 2025-04-14 10:44 (UTC)
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
Pinned Comments
ZhangHua commented on 2025-04-14 10:44 (UTC)
Please check commit message at febe70f13512 if you are updating from 1.x.x to 2.x.x and later.