initial commit of file from CVS for smeserver-smeadmin on Sat Sep 7 16:42:16 AEST 2024
This commit is contained in:
13
root/etc/e-smith/events/actions/smeadmin-parselog
Executable file
13
root/etc/e-smith/events/actions/smeadmin-parselog
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/perl -w
|
||||
# Smeadmin - evenement appele par logrotate
|
||||
# Copyright (C) 2006
|
||||
# This file is distributed under the GPL license.
|
||||
# Landry Breuil <landry@firewall-services.com>, 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");
|
Reference in New Issue
Block a user