summarylogtreecommitdiffstats
path: root/aria2-tracker-update-system.service
blob: 55ec8138c5fef41f18dcb8fe9c60e71049a0ee46 (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
NoExecPaths=/
ExecPaths=/usr/bin /usr/lib
ProtectHome=yes
NoNewPrivileges=yes