Added error handeling for init.sh

This commit is contained in:
brammp committed 2022-07-02 22:09:33 +02:00
1 parent d47e3d8ebe
commit ec7705f5fc
13 files changed
+14 -16

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
#Get Resources
curl -L --retry 7 --retry-delay 5 https://releases.domoticz.com/releases/release/domoticz_linux_x86_64.tgz -o "/opt/Setup/domoticz.tgz"
curl -L --retry 7 --retry-delay 5 https://releases.domoticz.com/releases/release/domoticz_linux_x86_64.tgz -o "/opt/Setup/domoticz.tgz" || exit 1
#Adding service user
adduser --system --shell /bin/bash --group --disabled-password --home /home/domoticz domoticz