aws-iotaws-iot-greengrassaws-iot-core

How to stop greengrass core?


I have installed greengrass core software and started it via:

sudo tar -xzvf greengrass-OS-architecture-1.11.0.tar.gz -C /
sudo tar -xzvf hash-setup.tar.gz -C /greengrass

cd /greengrass/certs/
sudo wget -O root.ca.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem

cd /greengrass/ggc/core/
sudo ./greengrassd start

Verified that process is started via:

ps aux | grep PID-number
ps aux | grep -E 'greengrass.*daemon'

How to stop greengrass core?


Solution

  • For this, you need to run the following commands,

    cd /greengrass-root/ggc/core/ 
    sudo ./greengrassd stop