Update requirements
This commit is contained in:
@@ -1 +1,10 @@
|
||||
cement>=2.8.2
|
||||
cement==2.8.2
|
||||
pystache>=0.5.4
|
||||
pynginxconfig>=0.3.4
|
||||
PyMySQL>=0.9.3
|
||||
psutil>=5.6.3
|
||||
sh>=1.12.14
|
||||
SQLAlchemy>=1.3.8
|
||||
requests>=2.22.0
|
||||
distro>=1.4.0
|
||||
apt-mirror-updater>=6.1
|
||||
@@ -95,8 +95,8 @@ def setupdomain(self, data):
|
||||
# Check nginx -t and return status over it
|
||||
try:
|
||||
Log.debug(self, "Checking generated nginx conf, please wait...")
|
||||
FNULL = open('/dev/null', 'w')
|
||||
subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=FNULL,
|
||||
fnull = open('/dev/null', 'w')
|
||||
subprocess.check_call(["/usr/sbin/nginx", "-t"], stdout=fnull,
|
||||
stderr=subprocess.STDOUT)
|
||||
Log.info(self, "[" + Log.ENDC + "Done" + Log.OKBLUE + "]")
|
||||
except CalledProcessError as e:
|
||||
|
||||
Reference in New Issue
Block a user