1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/aria2/aria2.service

17 lines
396 B
SYSTEMD
Raw Normal View History

2016-03-19 00:14:20 +02:00
[Unit]
Description=High speed download utility
After=network.target
[Service]
User=pi
Environment=DIR=/home/pi/Downloads
ExecStartPre=/bin/mkdir -p ${DIR}
ExecStart=/usr/bin/aria2c --enable-rpc \
--rpc-listen-all=true \
--rpc-allow-origin-all \
--dir ${DIR}
Restart=on-failure
[Install]
WantedBy=multi-user.target