Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prestart (0.18 sec)

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

        killproc -p $pidfile -d 20 $prog
        retval=$?
        echo
        [ $retval -eq 0 ] && rm -f $lockfile
        return $retval
    }
    
    restart() {
        stop
        start
    }
    
    reload() {
        restart
    }
    
    force_reload() {
        restart
    }
    
    rh_status() {
        # run checks to determine if the service is running or use generic status
        status -p $pidfile $prog
    }
    
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  2. src/packaging/deb/init.d/fess

    	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 Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top