configs/apache: remove cpu limit and unnecessary is_bind
authorRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 17:11:56 +0000 (19:11 +0200)
committerRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 17:11:56 +0000 (19:11 +0200)
configs/apache.cfg

index 80c490911bf74fd9d97d1f8dd717ddb4fc7dc21c..ebeb7a61d8210ddb276ef7f97ad01d0e34079baa 100644 (file)
@@ -14,9 +14,9 @@ mode: ONCE
 hostname: "APACHE-NSJ"
 
 rlimit_as: 1024
-rlimit_cpu: 1000
 rlimit_fsize: 1024
-rlimit_nofile: 16
+rlimit_cpu: -1
+rlimit_nofile: 64
 
 time_limit: 0
 
@@ -66,13 +66,11 @@ mount {
        dst: "/tmp"
        fstype: "tmpfs"
        rw: true
-       is_bind: false
 }
 mount {
        dst: "/run/apache2"
        fstype: "tmpfs"
        rw: true
-       is_bind: false
 }
 mount {
     src: "/dev/urandom"
@@ -84,7 +82,6 @@ mount {
     dst: "/dev/shm"
     fstype: "tmpfs"
     rw: true
-    is_bind: false
 }
 mount {
     dst: "/proc"
@@ -109,13 +106,17 @@ mount {
        src: "/var/www/html"
        dst: "/var/www/html"
        is_bind: true
-       rw: true
 }
 mount {
        src: "/usr/share/apache2"
        dst: "/usr/share/apache2"
        is_bind: true
 }
+mount {
+       src: "/var/lib/apache2"
+       dst: "/var/lib/apache2"
+       is_bind: true
+}
 mount {
        src: "/usr/sbin/apache2"
        dst: "/usr/sbin/apache2"