fixup cleanup-homedir.service

This commit is contained in:
Franzi 2021-10-17 09:25:24 +02:00
parent 2c60a28c16
commit 88dc4d0d94
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -4,7 +4,6 @@ Description=Clean Up Homedir
[Service]
ExecStart=/usr/bin/find /home/kunsi/Downloads/ -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi -maxdepth 1 -type d -iname 'tmp.*' -mtime +30 -exec rm -r {} \;
ExecStart=/usr/bin/find /home/kunsi -maxdepth 1 -iname 'screenshot_*' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi/Pictures/ -maxdepth 1 -iname 'screenshot_*' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi/Downloads/ -maxdepth 1 -iname 'screenshot *' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi -maxdepth 1 -iname 'screenshot*' -mtime +30 -delete
ExecStart=/usr/bin/find /home/kunsi/Pictures/ -maxdepth 1 -iname 'screenshot*' -mtime +30 -delete
Type=oneshot