From 0d4444558870c1e18332b1bed5acbf169bd35755 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 9 Sep 2022 17:56:14 +0200 Subject: [PATCH] added systemd services enabling --- tools/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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