Created
May 7, 2019 02:05
-
-
Save felipekm/8532d5d1de8fa6f5045703003703fa9b to your computer and use it in GitHub Desktop.
AWS EC2 Instance User data sample to start a service
This file contains 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
Content-Type: multipart/mixed; boundary="//" | |
MIME-Version: 1.0 | |
--// | |
Content-Type: text/cloud-config; charset="us-ascii" | |
MIME-Version: 1.0 | |
Content-Transfer-Encoding: 7bit | |
#cloud-config | |
cloud_final_modules: | |
- [scripts-user, always] | |
--// | |
Content-Type: text/x-shellscript; charset="us-ascii" | |
MIME-Version: 1.0 | |
Content-Transfer-Encoding: 7bit | |
#!/bin/bash | |
sudo service pling start | |
--// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment