2021-11-21 16:11:26 +01:00
|
|
|
[Unit]
|
2021-11-21 16:15:12 +01:00
|
|
|
Description=Matterbridge mediarepo cleanup for things older than a week
|
2021-11-21 16:11:26 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2021-11-21 16:15:12 +01:00
|
|
|
ExecStart=-/usr/bin/find /var/www/html/matterbridge -type f -cmin +10080 -delete
|
2021-11-21 16:11:26 +01:00
|
|
|
User=matterbridge
|
|
|
|
StandardOutput=null
|
|
|
|
StandardError=null
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|