I manually changed a config option in a juju service (alice-irc), now I want to restart it, how do I do so? I rebooted the instance figuring that would do it but no luck. I then tried running the start script that is in /var/lib/juju/units/alice-irc-0/charm/hooks and it failed with a bunch of errors. So what's the right solution here?

EDIT: The start script did actually start the service, but dumped errors out due to the juju-log calls. I'd still like to know what the "right" solution is here.

  • The Service is running on its own instance as a Service. Can't you ssh into the instance and restart the service manually? A Reboot should do the this, too. Maybe be your config changes are the problem? Please post the error messages. – prophecy201 Feb 27 '13 at 11:41
  • 1
    sudo service <servicename> restart restarts the mentioned service... – bohdan_trotsenko Feb 28 '13 at 13:54
  • That is only true for services with upstart jobs, it is not universal. – mfisch Feb 28 '13 at 17:34

Well, if this was a Juju config option for the charm, I think the charm should restart it automatically. If not, it probably should be added to the config (but the README says "This charm doesn't offer any configuration as Alice doesn't have any command line configuration tools, everything is done through the browser.")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.