repo.or.cz
/
moggers87-useful.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Unit files for systemd
[moggers87-useful.git]
/
templates
/
clean-cache.service
blob
f6be8b5b057b0972049ca7b3dbee4d52a20e2cdf
1
[Unit]
2
Description=Clean cache in user home
3
Wants=clean-cache.timer
4
StartLimitInterval=200
5
StartLimitBurst=5
6
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
16
17
[Install]
18
WantedBy=multi-user.target