summarylogtreecommitdiffstats
path: root/aria2-tracker-update-system.service
blob: b9aa480f80446698187abbb04984bfecfc692e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Update Aria2c Trackers
After=network-online.target
Wants=network-online.target
PartOf=aria2.target

[Service]
Type=oneshot
User=aria2cd
ExecStart=/usr/bin/update-aria2-tracker
RestartSec=60s
Restart=on-failure
# Sandboxing
ProtectSystem=strict
ReadWritePaths=/etc/aria2cd/aria2.conf
NoExecPaths=/
ExecPaths=/usr/bin /usr/lib
ProtectHome=yes
NoNewPrivileges=yes