Skip to content

Commit

Permalink
Adding shebang in preinst script #265. Thanks @pehedima
Browse files Browse the repository at this point in the history
  • Loading branch information
imbeacon committed Mar 23, 2020
1 parent a318ce9 commit 5dc6441
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions for_build/DEBIAN/preinst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh
set -e

echo "Installing directory for configs..."
sudo mkdir /etc/thingsboard-gateway
sudo adduser --system --gecos "ThingsBoard-Gateway Service" --disabled-password --group --home /var/lib/thingsboard_gateway thingsboard_gateway

0 comments on commit 5dc6441

Please sign in to comment.