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

@@ -63,10 +63,6 @@ while [ "$#" -gt 0 ]; do
wo_branch="$2" wo_branch="$2"
shift shift
;; ;;
-v | --version)
wo_version="$2"
shift
;;
--force) --force)
wo_force_install="y" wo_force_install="y"
;; ;;

View File

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