We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6859ab2 commit 87de784Copy full SHA for 87de784
core/src/main/groovy/noe/ews/server/httpd/HttpdRpm.groovy
@@ -84,8 +84,16 @@ class HttpdRpm extends Httpd {
84
* Stop the server
85
*/
86
void start(Map conf = [:]) {
87
- super.start(conf)
88
- Library.letsSleep(5000)
+ try {
+ super.start(conf)
89
+ Library.letsSleep(5000)
90
+ }
91
+ catch(RuntimeException re) {
92
+ Map results = Cmd.executeCommandConsumeStreams(["journalctl", "-xeu", "httpd.service"])
93
+ log.info(re.getMessage())
94
+ log.info(results.stdOut as String)
95
+ throw new RuntimeException("${re.getMessage()}\n${results.stdOut as String}")
96
97
}
98
99
/**
0 commit comments