-
-
Save dasgoll/99c6b4e6aa4b92d0f55598c0ea7effc3 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