examples/apache: sort the entries again
authorRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 10:08:26 +0000 (12:08 +0200)
committerRobert Swiecki <robert@swiecki.net>
Fri, 7 Jul 2017 10:08:26 +0000 (12:08 +0200)
configs/apache.cfg

index 9b43117dd1b224c4f8e635040e33be2570f3fb51..4b6435229347599614d8cac3fc2d3f3d642768b5 100644 (file)
@@ -1,7 +1,7 @@
 name: "apache-with-cloned-net"
-description:
-"Works under Ubuntu 17.04. Other Linux distros might have different
-location of the Apache's HTTPD configuration files and system
+description: "
+Tested under Ubuntu 17.04. Other Linux distros might use different
+locations for the Apache's HTTPD configuration files and system
 libraries.
 
 On the basis of (GitHub's) @farconada work in:
@@ -18,16 +18,16 @@ rlimit_cpu: 1000
 rlimit_fsize: 1024
 rlimit_nofile: 16
 
+time_limit: 0
+
+cap: "CAP_NET_BIND_SERVICE"
+
 envar: "APACHE_RUN_DIR=/run/apache2"
 envar: "APACHE_PID_FILE=/run/apache2/apache2.pid"
 envar: "APACHE_RUN_USER=www-data"
 envar: "APACHE_RUN_GROUP=www-data"
 envar: "APACHE_LOG_DIR=/run/apache2"
 
-cap: "CAP_NET_BIND_SERVICE"
-
-time_limit: 0
-
 uidmap {
        inside_id: "1"
        outside_id: "www-data"
@@ -48,11 +48,6 @@ mount {
        dst: "/etc/ld.so.cache"
        is_bind: true
 }
-mount {
-       src: "/etc/hosts"
-       dst: "/etc/hosts"
-       is_bind: true
-}
 mount {
        src: "/etc/mime.types"
        dst: "/etc/mime.types"
@@ -148,6 +143,6 @@ macvlan_vs_nm: "255.255.255.0"
 macvlan_vs_gw: "192.168.10.1"
 
 exec_bin {
-path:
-    "/usr/sbin/apache2" arg : "-DFOREGROUND"
+       path: "/usr/sbin/apache2"
+       arg : "-DFOREGROUND"
 }