partage public

This commit is contained in:
2015-05-30 18:42:42 +02:00
commit a368f25d59
43 changed files with 5480 additions and 0 deletions

14
check_fetchmail Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
LOGFILE=/shared/meutel/fetchmail.log
# check fetchmail running as daemon
if [ ! `pgrep fetchmail` ]; then
echo "fetchmail is not running"
fi
# check error in log
grep -3 error $LOGFILE
# clear log
echo > $LOGFILE