File: tmpwatch

package info (click to toggle)
sogo 2.2.9%2Bgit20141017-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 43,812 kB
  • sloc: objc: 115,592; python: 5,696; sh: 1,380; perl: 861; makefile: 240; xml: 114; sql: 53; php: 43
file content (7 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/bin/sh

# SOGOSPOOL must match the value of the configuration parameter SOGoMailSpoolPath
SOGOSPOOL=/var/spool/sogo

/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
find "$SOGOSPOOL" -mindepth 1 -type d -user sogo -empty -delete > /dev/null