summarylogtreecommitdiffstats
path: root/aria2-user.service
blob: 706fc5e7051b5725314c90eea5147fd7b24c6894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=User Wide Aria2c Daemon
After=network-online.target
Wants=network-online.target
PartOf=aria2.target

[Service]
Type=forking
# Arguments here will override config file.
ExecStart=/usr/bin/aria2c \
    --dir=/var/lib/aria2cd/Downloads --remote-time=true --daemon=true --enable-rpc=true \
    --bt-enable-lpd=true --bt-save-metadata=true \
    --enable-dht=true --enable-dht6=true \
    --optimize-concurrent-downloads=true \
    --parameterized-uri=true 
ExecReload=/usr/bin/kill -HUP ${MAINPID}


[Install]
WantedBy=aria2.target