more ideas

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-26 14:02:39 +02:00
parent 6ed445b034
commit a578fa37e3
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,6 @@
efsh_base()
{
efsh_servicedir="/home/services"
efsh_userdir="/home/users"
efsh_groupdir="/home/groups"
}

View file

@ -0,0 +1,5 @@
. ./base.sh
echo $efsh_userdir
efsh
echo $efsh_userdir

View file

@ -0,0 +1,18 @@
cat << eof
#
# D-INFK SANS MANAGED FILE
# ========================
#
# Do not change this file. Changes will be overwritten by puppet.
#
server {
# Only bind on the reserved IP address
listen $nginx_website;
server_name $server_name;
location / {
root /home/services/www/$username/$server_name/www;
}
}
eof