main
This commit is contained in:
parent
70cd023120
commit
420f58bc67
1 changed files with 13 additions and 0 deletions
13
main.sh
Executable file
13
main.sh
Executable file
|
|
@ -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
|
||||||
Loading…
Add table
Reference in a new issue