|
|
@ -126,6 +126,7 @@ class Server:
|
|
|
|
self.__lock.release()
|
|
|
|
self.__lock.release()
|
|
|
|
|
|
|
|
|
|
|
|
def stopJail(self, name):
|
|
|
|
def stopJail(self, name):
|
|
|
|
|
|
|
|
logSys.debug("Stopping jail %s" % name)
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
self.__lock.acquire()
|
|
|
|
self.__lock.acquire()
|
|
|
|
if self.isAlive(name):
|
|
|
|
if self.isAlive(name):
|
|
|
@ -135,6 +136,7 @@ class Server:
|
|
|
|
self.__lock.release()
|
|
|
|
self.__lock.release()
|
|
|
|
|
|
|
|
|
|
|
|
def stopAllJail(self):
|
|
|
|
def stopAllJail(self):
|
|
|
|
|
|
|
|
logSys.info("Stopping all jails")
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
self.__lock.acquire()
|
|
|
|
self.__lock.acquire()
|
|
|
|
for jail in self.__jails.getAll():
|
|
|
|
for jail in self.__jails.getAll():
|
|
|
|