Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for eq (0.12 sec)

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

    		start-stop-daemon --stop --pidfile "$PID_FILE" \
    			--user "$FESS_USER" \
    			--quiet \
    			--retry forever/TERM/20 > /dev/null
    		if [ $? -eq 1 ]; then
    			log_progress_msg "$DESC is not running but pid file exists, cleaning up"
    		elif [ $? -eq 3 ]; then
    			PID="`cat $PID_FILE`"
    			log_failure_msg "Failed to stop $DESC (pid $PID)"
    			exit 1
    		fi
    		rm -f "$PID_FILE"
    	else
    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

        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
        # stop it here, often "killproc $prog"
        killproc -p $pidfile -d 20 $prog
        retval=$?
        echo
        [ $retval -eq 0 ] && rm -f $lockfile
        return $retval
    }
    
    restart() {
        stop
        start
    }
    
    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