How to configure aria2 as a starup service in archlinux?
- by user1179442
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