|
Lines 654-662
Link Here
|
| 654 |
if ($OS eq 'linux') { |
654 |
if ($OS eq 'linux') { |
| 655 |
my $command="/sbin/service"; |
655 |
my $command="/sbin/service"; |
| 656 |
if (-x $command) { |
656 |
if (-x $command) { |
| 657 |
print "\n-----> Restart Web server with '/sbin/service httpd restart'\n"; |
657 |
print "\n-----> Restart Web server graceful with '/usr/sbin/apache2ctl graceful'\n"; |
| 658 |
my $ret=`/sbin/service httpd restart`; |
658 |
my $ret=`/usr/sbin/apache2ctl graceful`; |
| 659 |
print "$ret"; |
659 |
print "$ret"; |
| 660 |
} |
660 |
} |
| 661 |
else { |
661 |
else { |
| 662 |
print "\n-----> Don't forget to restart manually your web server\n"; |
662 |
print "\n-----> Don't forget to restart manually your web server\n"; |