changeset 1637:a65802b06b01

add nginx scripts
author fffilimonov
date Thu, 16 Dec 2021 14:17:51 +0000
parents 8efb10bf569a
children f53301a50084
files host/start_nginx.sh host/stop_nginx.sh
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host/start_nginx.sh	Thu Dec 16 14:17:51 2021 +0000
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+sudo $(which nginx) -c $(pwd)/local/nginx.conf;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/host/stop_nginx.sh	Thu Dec 16 14:17:51 2021 +0000
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+sudo $(which nginx) -s stop;