Skip to content

Commit

Permalink
Merge pull request #203 from borpin/patch-10
Browse files Browse the repository at this point in the history
Update install.sh fix echo command
  • Loading branch information
glynhudson authored Sep 16, 2023
2 parents 3535915 + 6463d28 commit 7403d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if [ "$user" != "pi" ]; then
if [ ! -d /lib/systemd/system/emonhub.service.d ]; then
sudo mkdir /lib/systemd/system/emonhub.service.d
fi
echo $'[Service]\nUser='$user'\nEnvironment="USER='$user'"' > emonhub.service.conf
echo $'[Service]\nUser='$user$'\nEnvironment="USER='$user'"' > emonhub.service.conf
sudo mv emonhub.service.conf /lib/systemd/system/emonhub.service.d/emonhub.conf
fi
sudo systemctl daemon-reload
Expand Down

0 comments on commit 7403d19

Please sign in to comment.