]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/Install-on-Centos-8.sh
add typing annotations for DB status module
[nominatim.git] / vagrant / Install-on-Centos-8.sh
index 18991364f172ba8736c4c6d791f7ccc6977e40e3..c9278f9ef36f7f53f586d78b30edf818bf2cfc5c 100755 (executable)
@@ -57,7 +57,7 @@
 # we assume this user is called nominatim and the installation will be in
 # /srv/nominatim. To create the user and directory run:
 #
-#    sudo useradd -d /srv/nominatim -s /bin/bash -m nominatim
+#     sudo useradd -d /srv/nominatim -s /bin/bash -m nominatim
 #
 # You may find a more suitable location if you wish.
 #
@@ -85,8 +85,8 @@ fi                                     #DOCS:
 
 if [ "x$NOSYSTEMD" == "xyes" ]; then                               #DOCS:
     sudo -u postgres /usr/pgsql-12/bin/pg_ctl initdb -D /var/lib/pgsql/12/data     #DOCS:
-    sudo mkdir /var/log/postgresql
-    sudo chown postgres. /var/log/postgresql
+    sudo mkdir /var/log/postgresql                                 #DOCS:
+    sudo chown postgres. /var/log/postgresql                       #DOCS:
 else                                                               #DOCS:
     sudo /usr/pgsql-12/bin/postgresql-12-setup initdb
 fi                                                                 #DOCS:
@@ -125,7 +125,7 @@ fi                                    #DOCS:
 #
 if [ "x$1" == "xyes" ]; then  #DOCS:    :::sh
     cd $USERHOME
-    git clone --recursive git://github.com/openstreetmap/Nominatim.git
+    git clone --recursive https://github.com/openstreetmap/Nominatim.git
     cd Nominatim
 else                               #DOCS:
     cd $USERHOME/Nominatim         #DOCS: