From 420f58bc67d2d90ea321e4a024d2b5e9fa1fc790 Mon Sep 17 00:00:00 2001 From: OPSXCQ Date: Mon, 2 Jan 2017 18:02:09 -0200 Subject: [PATCH] main --- main.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 main.sh diff --git a/main.sh b/main.sh new file mode 100755 index 0000000..b2fe46c --- /dev/null +++ b/main.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +echo '[+] Starting mysql...' +service mysql start + +echo '[+] Starting apache' +service apache2 start + +while true +do + tail -f /var/log/apache2/*.log + sleep 10; +done