Last active
November 25, 2019 11:42
-
-
Save matthewberryman/fa21ca796c3a2e0dfe8224934b7b055c to your computer and use it in GitHub Desktop.
greengrass systemd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=greengrass daemon | |
After=network.target | |
[Service] | |
ExecStart=/greengrass/ggc/core/greengrassd start | |
Type=simple | |
RestartSec=2 | |
Restart=always | |
User=root | |
PIDFile=/var/run/greengrassd.pid | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env /bin/bash | |
sudo cp greengrass.service /etc/systemd/system | |
sudo systemctl enable greengrass | |
sudo systemctl start greengrass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get some warnings while enabling and greengrass does not start at boot.