Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[appserver-io-dist/debian] Post-install fails for upgrade if one service is not running #1068

Open
wick-ed opened this issue Jul 6, 2017 · 0 comments

Comments

@wick-ed
Copy link
Member

wick-ed commented Jul 6, 2017

If an appserver upgrade takes place the postinstall script checks for the status of the appserver processes and restarts them if needed.
If one of the processes is indeed NOT running (was observed with appserver-php5-fpm), the postinstall script will fail with status 3.

See the line of postinstall:
https://github.com/appserver-io-dist/debian/blob/master/src/8/dist/DEBIAN/postinst#L59

Assumption:
The exit code of the systemctl status command gets returned for the whole postinstall script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant