5 lines
127 B
Bash
Executable File
5 lines
127 B
Bash
Executable File
#!/bin/sh
|
|
hostname=`hostname -f`
|
|
sed -i "s/XXX/${hostname}/" /usr/share/nginx/html/index.html
|
|
/usr/sbin/nginx -g "daemon off;"
|