10 lines
351 B
Bash
Executable File
10 lines
351 B
Bash
Executable File
#!/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
|