From 7dfd8bcfa1a66955c73d81940683157d5a987d36 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 26 Jul 2018 17:18:00 +0300 Subject: [PATCH] Create run.sh --- websites/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 websites/run.sh diff --git a/websites/run.sh b/websites/run.sh new file mode 100644 index 000000000..a2743ddde --- /dev/null +++ b/websites/run.sh @@ -0,0 +1,6 @@ + +#!/bin/bash +chown www-data:www-data /var/www -R +source /etc/apache2/envvars +tail -F /var/log/apache2/* & +exec apache2 -D FOREGROUND