shell-things/etc/systemd/system/matterbridge-cleanup.service

14 lines
324 B
Desktop File

[Unit]
Description=Matterbridge mediarepo cleanup for things older than a week
[Service]
Type=oneshot
# Contained in `systemd-path search-binaries-default`
ExecStart=-find /var/www/html/matterbridge -type f -cmin +10080 -delete
User=matterbridge
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target