Fix stack pref
This commit is contained in:
4
install
4
install
@@ -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"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user