1 Answer
- Newest
- Most votes
- Most comments
0
Hi, Touch OS phone uses upstart and not systemd. Like systemd, you can use upstart to start Greengrass, and respawn it in case of failure.
I would advice to first test to start Greengrass manually. Assuming the installation went Ok up to the point where you got the Unable to set up Nucleus as a system service
error, you can try starting Greengrass via the following command:
MIN_HEAP_SIZE="100m"
MAX_HEAP_SIZE="100m"
LOG_STORE="FILE"
NUCLEUS_PATH="/greengrass/v2/alts/current/distro/lib"
java -Xms$MIN_HEAP_SIZE -Xmx$MAX_HEAP_SIZE -Droot=$GGC_ROOT_PATH -Dlog.store=$LOG_STORE -jar $NUCLEUS_PATH/Greengrass.jar
Note: HEAP_SIZE values are only suggestions - you might need to change them based on your system
Relevant content
- asked 4 years ago
- asked 2 years ago
- asked 5 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago