mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-29 18:12:44 +00:00
Added a tmpwatch script that will eventually be part of the installation process
Monotone-Parent: 04df0eebf5080524a4b02c414640106afe5e4ca3 Monotone-Revision: 34b0098e2e34111ae63e0f056fceabfd7cb1362e Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-12-29T15:34:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
6
Scripts/tmpwatch
Normal file
6
Scripts/tmpwatch
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
SOGOSPOOL=/var/spool/sogo
|
||||
|
||||
/usr/sbin/tmpwatch 24 "$SOGOSPOOL"
|
||||
find "$SOGOSPOOL" -type d -empty -exec /bin/rmdir -p {} \; 2> /dev/null
|
||||
Reference in New Issue
Block a user