PHP Classes

File: Docker/start-apache.sh

Recommend this page to a friend!
  Classes of Luca Liscio   eXperience GuestBook   Docker/start-apache.sh   Download  
File: Docker/start-apache.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: eXperience GuestBook
Application for users to send guestbook messages
Author: By
Last change:
Date: 1 year ago
Size: 190 bytes
 

Contents

Class file image Download
#!/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/* /etc/init.d/mariadb start apache2-foreground