Sha256: c056324ef0530b7f275f822ba3bb024bbc2b064dc1c3bc664fab18991a95faf6
Contents?: true
Size: 446 Bytes
Versions: 14
Compression:
Stored size: 446 Bytes
Contents
#!/usr/bin/env ruby #This script is used to restart the FCGI-spec-test servers. require "rubygems" require "php4r" #Close down the running instance of FCGI-server-process. fpath = "/tmp/hayabusa_fcgi_Fcgi_test_fcgi.conf" if File.exists?(fpath) and fcont = File.read(fpath) and !fcont.empty? cont = Marshal.load(fcont) Process.kill("HUP", cont[:pid]) end #Restart apache to restart any FCGI instances. Php4r.passthru("apache2ctl restart")
Version data entries
14 entries across 14 versions & 1 rubygems