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

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

[Install]
WantedBy=multi-user.target