Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for systemctl (0.26 sec)

  1. src/packaging/common/scripts/postinst

        if command -v systemctl >/dev/null; then
            echo "### NOT starting on installation, please execute the following statements to configure fess service to start automatically using systemd"
            echo " sudo systemctl daemon-reload"
            echo " sudo systemctl enable fess.service"
            echo "### You can start fess service by executing"
            echo " sudo systemctl start fess.service"
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 3.1K bytes
    - Viewed (0)
  2. src/packaging/common/scripts/postrm

        FESS_ENV_FILE="${packaging.env.file}"
        if [ -f "$FESS_ENV_FILE" ]; then
            . "$FESS_ENV_FILE"
        fi
    fi
    
    if [ "$REMOVE_SERVICE" = "true" ]; then
        if command -v systemctl >/dev/null; then
            systemctl --no-reload disable fess.service > /dev/null 2>&1 || true
        fi
    
        if command -v chkconfig >/dev/null; then
            chkconfig --del fess 2> /dev/null || true
        fi
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 2.2K bytes
    - Viewed (0)
  3. src/packaging/common/scripts/prerm

            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
            systemctl --no-reload stop fess.service > /dev/null 2>&1 || true
    
        elif [ -x /etc/init.d/fess ]; then
            if command -v invoke-rc.d >/dev/null; then
                invoke-rc.d fess stop || true
            else
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 29 07:34:32 GMT 2018
    - 1.7K bytes
    - Viewed (1)
Back to top