YUKI Hiroshi
null+****@clear*****
Wed Sep 24 17:34:02 JST 2014
YUKI Hiroshi 2014-09-24 17:34:02 +0900 (Wed, 24 Sep 2014) New Revision: 56db779c78de9f879d9463a88a44d026734092f4 https://github.com/droonga/droonga-http-server/commit/56db779c78de9f879d9463a88a44d026734092f4 Message: Detect "dead" case as "instaled as a service" Modified files: bin/droonga-http-server-configure Modified: bin/droonga-http-server-configure (+2 -1) =================================================================== --- bin/droonga-http-server-configure 2014-09-24 17:25:58 +0900 (94111d7) +++ bin/droonga-http-server-configure 2014-09-24 17:34:02 +0900 (a20542c) @@ -42,7 +42,8 @@ function checkInstalledAsService() { if (error) { exec('env SYSTEMCTL_SKIP_REDIRECT=yes service droonga-http-server status', function(error, stdin, stdout) { installedAsService = stdin.indexOf('running') > -1 || - stdin.indexOf('droonga-http-server is stopped') > -1; + stdin.indexOf('droonga-http-server is stopped') > -1 || + stdin.indexOf('droonga-http-server dead') > -1; resolve(installedAsService); }); } -------------- next part -------------- HTML����������������������������... Descargar