diff --git a/tools/install.sh b/tools/install.sh index 963804c..54dc4c3 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -7,4 +7,10 @@ chmod u+rX -R /var/www/html/moha/ chown apache:apache -R /var/www/html/moha rsync -aP --exclude "*~" --exclude *kate-swp $1/daemons/ /usr/bin/ rsync -aP --exclude "*~" --exclude *kate-swp $1/systemd/ /etc/systemd/system/ +mkdir /usr/share/moha +chown domotique:domotique -R /usr/share/moha +systemctl daemon-reload +systemctl enable presenceD.service +systemctl enable moha.service + #must enable service