Add start-apache
This commit is contained in:
4
start-apache
Normal file
4
start-apache
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
sed -i "s/Listen 80/Listen ${PORT:-80}/g" /etc/apache2/ports.conf
|
||||||
|
sed -i "s/:80/:${PORT:-80}/g" /etc/apache2/sites-enabled/*
|
||||||
|
apache2-foreground
|
||||||
Reference in New Issue
Block a user