AWS Greengrass: set the GG Core daemon relative path in the init script

The recipe modifies the Greengrass Core init script to properly configure the
daemon relative path. This daemon location is different depending on the
Greengrass version being used.

This commits also moves the patch for Greengrass Core 1.0.0 to the
'greengrass-1.0.0' directory in preparation for adding Greengrass Core 1.1.0
recipe in the next commit.

https://jira.digi.com/browse/DEL-5368

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
This commit is contained in:
Tatiana Leon 2017-11-23 14:23:36 +01:00
parent 0b7da46eb0
commit 31444d1bd1
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
# #
GG_INSTALL_DIR="##GG_INSTALL_DIR##" GG_INSTALL_DIR="##GG_INSTALL_DIR##"
GG_LAUNCHER="${GG_INSTALL_DIR}/greengrassd" GG_LAUNCHER="$(find ${GG_INSTALL_DIR} -type f -name greengrassd)"
case "${1}" in case "${1}" in
start | stop | restart) start | stop | restart)