This cleans up tmp and logrotates /var/log every 12 hours. Note that this janitor is separate from the box janitor because they run as different users. Fixes #503
15 lines
217 B
Desktop File
15 lines
217 B
Desktop File
[Unit]
|
|
Description=Docker Volumes Janitor
|
|
OnFailure=crashnotifier@%n.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=no
|
|
ExecStart=/usr/sbin/docker_janitor
|
|
KillMode=process
|
|
User=root
|
|
Group=root
|
|
MemoryLimit=50M
|
|
WatchdogSec=180
|
|
|