Search Criteria
Package Details: aria2cd 1.4.2-1
Package Actions
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.000001 |
First Submitted: | 2021-09-02 09:14 (UTC) |
Last Updated: | 2024-03-26 13:18 (UTC) |
Dependencies (3)
- aria2 (aria2-gitAUR, aria2-proAUR, aria2-fastAUR, aria2-unlimitedAUR)
- systemd (systemd-chromiumosAUR, systemd-gitAUR, systemd-fmlAUR, systemd-selinuxAUR, sysupdated-systemd-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (optional) – for getting tracker list
Required by (0)
Sources (14)
- aria2-system.service
- aria2-system.target
- aria2-tracker-update-system.service
- aria2-tracker-update-system.timer
- aria2-tracker-update-user.service
- aria2-tracker-update-user.timer
- aria2-user.service
- aria2-user.target
- aria2@.service
- aria2cd.hook
- LICENSE
- notify-user-and-copy-config
- tracker-config.sh
- update-aria2-tracker
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 usesystemctl enable aria2@user.service
instead. See note part of https://wiki.archlinux.org/title/systemd#Using_units for more details. In this unit file, specifieruser
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 :