Unit files for systemd
[moggers87-useful.git] / templates / clean-cache.service
blobf6be8b5b057b0972049ca7b3dbee4d52a20e2cdf
1 [Unit]
2 Description=Clean cache in user home
3 Wants=clean-cache.timer
4 StartLimitInterval=200
5 StartLimitBurst=5
7 [Service]
8 Nice=19
9 IOSchedulingClass=idle
10 IOSchedulingPriority=7
11 Type=oneshot
12 ExecStart=${prefix}/bin/clean-cache.sh clean
13 Environment=HOME=%h
14 Restart=on-failure
15 RestartSec=30
17 [Install]
18 WantedBy=multi-user.target