Permalink
Browse files

Add test-configuration command

  • Loading branch information...
1 parent 701f549 commit d90071ad62e2e0a2921d2a549d984d8aa3ba4d2a @michaelklishin committed Aug 27, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 nginxctl.py
View
@@ -35,6 +35,8 @@ def run(self, command):
cmd2run = self.signal_command("QUIT")
elif command == "force-stop":
cmd2run = self.signal_command("INT")
+ elif command == "test-configuration":
+ cmd2run = ("%s -t" % self._bin_file_path)
elif command == "reopen-log":
cmd2run = self.signal_command("USR1")
elif command == "upgrade-executable":

0 comments on commit d90071a

Please sign in to comment.