Skip to content

Instantly share code, notes, and snippets.

@igkuz

igkuz/init.yml Secret

Created September 16, 2019 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igkuz/2960bbdbd481744ab26d84140645e179 to your computer and use it in GitHub Desktop.
Save igkuz/2960bbdbd481744ab26d84140645e179 to your computer and use it in GitHub Desktop.
[init.yml] Managing Unicorn & Puma web servers with systemd
packages:
- build-essential
- bison
- libreadline6
- libreadline6-dev
- curl
- git-core
- zlib1g-dev
- libssl-dev
- libyaml-dev
- libsqlite3-dev
- sqlite3
- libxml2-dev
- libxslt-dev
- autoconf
- ncurses-dev
runcmd:
- gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
- '\curl -sSL https://get.rvm.io | bash -s stable --ruby=ruby-2.5.3 --gems=bundler'
- mkdir /apps
- useradd -d /apps/awesomeapp -m -s /bin/bash -G rvm awesomeapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment