Searched refs:pidfile (Results 1 - 3 of 3) sorted by relevance

/httpd/build/rpm/
H A Dhttpd.init25 # pidfile: /var/run/httpd.pid
61 pidfile=${PIDFILE-/var/run/${prog}.pid}
88 LANG=$HTTPD_LANG daemon --pidfile=${pidfile} $httpd $OPTIONS
96 killproc -p ${pidfile} -d 10 $httpd
99 [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
104 killproc -p ${pidfile} $httpd -HUP
118 if ! test -f ${pidfile}; then
122 status -p ${pidfile} $httpd
131 if test -f ${pidfile}
[all...]
H A Dhtcacheclean.init25 # pidfile: /var/log/httpd/htcacheclean.pid
51 pidfile=/var/run/${prog}.pid
59 daemon --pidfile=${pidfile} $htcacheclean -d "$interval" -p "$cachepath" -l "$limit" -P "$pidfile" $OPTIONS
67 killproc -p ${pidfile} $htcacheclean
82 status -p ${pidfile} $htcacheclean
90 if status -p ${pidfile} $htcacheclean >&/dev/null; then
/httpd/support/
H A Dhtcacheclean.c1351 static void log_pid(apr_pool_t *pool, const char *pidfilename, apr_file_t **pidfile) argument
1356 if (APR_SUCCESS == (status = apr_file_open(pidfile, pidfilename,
1360 apr_file_printf(*pidfile, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
1383 apr_file_t *pidfile; local
1679 log_pid(pool, pidfilename, &pidfile); /* before daemonizing, so we
1694 apr_file_close(pidfile); /* delete original pidfile only in parent */
1698 log_pid(pool, pidfilename, &pidfile);

Completed in 14 milliseconds