- changed webserver to apiserver
- added webserver - a lot of debugging - install shell script
This commit is contained in:
9
tools/install.sh
Executable file
9
tools/install.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/bash
|
||||
rsync -aP --exclude "*~" --exclude *kate-swp $1/config/ /etc/moha/
|
||||
chmod 0500 /etc/moha
|
||||
chmod 0400 /etc/moha/*
|
||||
chown domotique:domotique -R /etc/moha
|
||||
rsync -aP --exclude "*~" --exclude *kate-swp $1/webserver/ /var/www/html/moha/
|
||||
chmod 0400 -R /var/www/html/moha/
|
||||
chmod 0500 /var/www/html/moha
|
||||
chown apache:apache -R /var/www/html/moha
|
||||
Reference in New Issue
Block a user