Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
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... –  modosansreves 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

1 Answer 1

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.")

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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