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

13 lines
279 B
Desktop File

[Unit]
Description=Matterbridge mediarepo cleanup for things older than a week
[Service]
Type=oneshot
ExecStart=-/usr/bin/find /var/www/html/matterbridge -type f -cmin +10080 -delete
User=matterbridge
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target