Closed arosales closed 10 years ago
Removed the restart from config-changed. I'm not sure why it is called before the install script. Although it's a best practice there is no scenario in which it will have good impact in the current implementation. If this charm will need it I will check if Zend server is installed prior to restarting it.
I am seeing a hook failed error, and it looks to be due to /usr/local/zend/bin/zs-manage not found:
unit-zend-server-0: 2014-09-22 23:40:11 INFO config-changed /var/lib/juju/agents/unit-zend-server-0/charm/hooks/config-changed: line 5: /usr/local/zend/bin/zs-manage: No such file or directory unit-zend-server-0: 2014-09-22 23:40:11 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1 unit-zend-server-0: 2014-09-22 23:40:15 INFO start zend-server: unrecognized service unit-zend-server-0: 2014-09-22 23:40:15 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1