Explorar o código

Does this need to be apachectl start || apachectl restart?

Lucian I. Last %!s(int64=6) %!d(string=hai) anos
pai
achega
ecb85583c9
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      test/run-cdn.sh
  2. 1 1
      test/run-local.sh

+ 1 - 1
test/run-cdn.sh

@@ -18,5 +18,5 @@ webdav-js sleep infinity
 docker exec -it webdav-js-app /bin/bash -c "\
 chown www-data -R /var/www/html 2> /dev/null; \
 rm /etc/apache2/sites-enabled/000-default.conf; \
-apachectl start | apachectl restart \
+apachectl start || apachectl restart \
 "

+ 1 - 1
test/run-local.sh

@@ -18,5 +18,5 @@ webdav-js sleep infinity
 docker exec -it webdav-js-app /bin/bash -c "\
 chown www-data -R /var/www/html 2> /dev/null; \
 rm /etc/apache2/sites-enabled/000-default.conf; \
-apachectl start | apachectl restart \
+apachectl start || apachectl restart \
 "