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

14 lines
324 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Matterbridge mediarepo cleanup for things older than a week
[Service]
Type=oneshot
2024-10-04 12:21:21 +02:00
# 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