- or download this
BEGIN {
# allow script to be reinitialized with a HUP signal
...
# more code here
}
- or download this
apache ALL=NOPASSWD:/home/www/utility/sendHUP.pl
- or download this
#!/usr/bin/perl -w
...
my $time = gmtime();
warn "[$time] Sent SIGHUP to $PROGRAM @ps\n";
exit 0;