Fix stack pref

This commit is contained in:
VirtuBox
2019-10-23 13:47:04 +02:00
parent 061744b69f
commit e84399540b
2 changed files with 2 additions and 5 deletions

View File

@@ -486,7 +486,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
else:
WOGit.add(self, ["/etc/nginx"], msg="Adding Nginx into Git")
if not os.path.isdir('/etc/systemd/system/nginx.service.d'):
WOFileUtils.mkdir('/etc/systemd/system/nginx.service.d')
WOFileUtils.mkdir(self,
'/etc/systemd/system/nginx.service.d')
if not os.path.isdir(
'/etc/systemd/system/nginx.service.d/limits.conf'):
with open(