Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Last active August 29, 2015 14:21
Show Gist options
  • Save alexleventer/c0c1d513acd421863f86 to your computer and use it in GitHub Desktop.
Save alexleventer/c0c1d513acd421863f86 to your computer and use it in GitHub Desktop.
PHP CentOS Distelli Manifest Provision
<username>/PHPCentOSPSimpleApp:
# This Basic Distelli Manifest assumes the following
# has been provisioned on the destination deploy server:
#
# OS: CentOS
Env:
- PORT: "8006"
PkgInclude:
- simpleapp.php
PreInstall:
- echo "Beginning PreInstall"
- sudo yum install php
Exec:
- 'php -S 0.0.0.0:$PORT simpleapp.php'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment