Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stats (0.37 sec)

  1. src/packaging/deb/init.d/fess

    	else
    		log_progress_msg "(not running)"
    	fi
    	log_end_msg 0
    	;;
      status)
    	status_of_proc -p $PID_FILE fess fess && exit 0 || exit $?
        ;;
      restart|force-reload)
    	if [ -f "$PID_FILE" ]; then
    		$0 stop
    		sleep 1
    	fi
    	$0 start
    	;;
      *)
    	log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}"
    	exit 1
    	;;
    esac
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

    }
    
    force_reload() {
        restart
    }
    
    rh_status() {
        # run checks to determine if the service is running or use generic status
        status -p $pidfile $prog
    }
    
    rh_status_q() {
        rh_status >/dev/null 2>&1
    }
    
    
    case "$1" in
        start)
            rh_status_q && exit 0
            $1
            ;;
        stop)
            rh_status_q || exit 0
            $1
            ;;
        restart)
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
Back to top