Index: sitescripts/management/bin/start_services.py |
=================================================================== |
--- a/sitescripts/management/bin/start_services.py |
+++ b/sitescripts/management/bin/start_services.py |
@@ -53,9 +53,9 @@ if __name__ == "__main__": |
print "'%s' is not a PID." % pid_string |
init_path = os.path.join("/etc/init.d", service) |
if not os.path.exists(init_path): |
print "%s does not exist, service is not running and cannot be started." % init_path |
continue |
print "%s is not running, starting ..." % service |
- subprocess.call([init_path, "start"]) |
+ subprocess.check_call([init_path, "start"]) |