Create run.sh

This commit is contained in:
STAM 2018-07-26 17:18:00 +03:00 committed by GitHub
parent 158026bc43
commit 7dfd8bcfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
websites/run.sh Normal file
View File

@ -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