#!/bin/sh # THis program is installed in /root/bin. # trli-production makes sur the PATH has /root/bin at the start # This program only does the "graceful" command and let # the rest done by the original script if [ "$1" = "graceful" ] ; then trli-production restart webs else exec /usr/sbin/apachectl $* fi