summarylogtreecommitdiffstats
path: root/aria2@.service
blob: cbde576d114d04c833015c6bf3e5bd395dbb39b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Aria2c Daemon for user %i
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=%i
ExecStartPre=/usr/bin/update-aria2-tracker
ExecStart=/usr/bin/aria2c --daemon=false
ExecReload=/usr/bin/kill -HUP ${MAINPID}

[Install]
WantedBy=multi-user.target