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

13 lines
278 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Matterbridge mediarepo cleanup for things older than a wekk
[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