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
1 changed files with 2 additions and 3 deletions

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