Giter Site home page Giter Site logo

Consul not starting about consul-rpm HOT 5 CLOSED

tomhillable avatar tomhillable commented on July 26, 2024
Consul not starting

from consul-rpm.

Comments (5)

duritong avatar duritong commented on July 26, 2024

I do run it in server mode and it works. What is the error that you are getting? Like output if systemctl status consul

from consul-rpm.

dblooman avatar dblooman commented on July 26, 2024
consul.service - Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.
   Loaded: loaded (/usr/lib/systemd/system/consul.service; disabled)
   Active: inactive (dead)
     Docs: http://www.consul.io

from consul-rpm.

duritong avatar duritong commented on July 26, 2024

So this is after a reboot?

Well, services should not be automatically registered to be started at boot-time (which is also what the disabled says in the Loaded line), as well as services should not be started automatically after installing the rom..

So if you want to have it started at boot time, you need to:

systemctl enable consul

As well as you need todo a

systemctl start consul

if you want to have the service running.

This is the default behavior of services on RPM-based distributions and we should follow it.

Given that I think everything works as it should I'm going to close that bug.

from consul-rpm.

dblooman avatar dblooman commented on July 26, 2024

Looking at the spec, I thought it would do this for me in the post block.

from consul-rpm.

duritong avatar duritong commented on July 26, 2024

Nope, it only register it as a service to be used by either systemd or chkconfig.

from consul-rpm.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.