How to configure aria2 as a starup service in archlinux?
Posted
by
user1179442
on Stack Overflow
See other posts from Stack Overflow
or by user1179442
Published on 2013-06-26T15:04:36Z
Indexed on
2013/07/02
5:05 UTC
Read the original article
Hit count: 207
I tried to edit a service file in /etc/systemd/system/aria2.service
[Unit]
Description=start aria2
Wants=network.target
Before=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all -c -D
[Install]
WantedBy=multi-user.target
Then run "systemctl enable aria2" & "systemctl start" and there is no error. But I can't grep 'aria2c' in process list after reboot. Who can give me a sample service file for it? Thanks
© Stack Overflow or respective owner