2022-04-07 01:44:17 +02:00
|
|
|
#!/usr/bin/bash
|
|
|
|
rsync -aP --exclude "*~" --exclude *kate-swp $1/config/ /etc/moha/
|
2022-04-23 02:00:52 +02:00
|
|
|
chmod a+rX -R /etc/moha
|
2022-04-07 01:44:17 +02:00
|
|
|
chown domotique:domotique -R /etc/moha
|
|
|
|
rsync -aP --exclude "*~" --exclude *kate-swp $1/webserver/ /var/www/html/moha/
|
2022-04-23 02:00:52 +02:00
|
|
|
chmod u+rX -R /var/www/html/moha/
|
2022-04-07 01:44:17 +02:00
|
|
|
chown apache:apache -R /var/www/html/moha
|