#!/usr/bin/perl -w # Smeadmin - evenement appele par logrotate # Copyright (C) 2006 # This file is distributed under the GPL license. # Landry Breuil , 2006. #------------------------------------------------------------ # On envoie le signal SIGUSR1 a smeadmind pour qu'il parse les logs #------------------------------------------------------------ exec("/usr/bin/killall", "-USR1", "smeadmind"); # NOTREACHED die("Failed to exec /usr/bin/killall -USR1 smeadmind");