1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Aria2c Service After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=/usr/bin/aria2c --conf-path=/etc/aria2/aria2.conf ExecStop=/bin/killall aria2c Restart=always [Install] WantedBy=multi-user.target