Created
March 9, 2013 16:30
-
-
Save eikeon/5124717 to your computer and use it in GitHub Desktop.
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
| Content-Type: multipart/mixed; boundary="===============0722602642128676011==" | |
| MIME-Version: 1.0 | |
| --===============0722602642128676011== | |
| Content-Type: text/upstart-job; charset="us-ascii" | |
| MIME-Version: 1.0 | |
| Content-Transfer-Encoding: 7bit | |
| Content-Disposition: attachment; filename="brikker.conf" | |
| description "brikker" | |
| author "Daniel Krech <[email protected]>" | |
| start on stopped cloud-final | |
| stop on runlevel [!2345] | |
| respawn | |
| respawn limit 3 60 | |
| env GOPATH=/mnt | |
| pre-start script | |
| chdir /home/ubuntu/ | |
| svn checkout http://openjpeg.googlecode.com/svn/trunk/ openjpeg | |
| chdir /home/ubuntu/openjpeg/ | |
| svn update -r 2299 | |
| wget https://gist.github.com/eikeon/5119599/raw/24a83d0bd76551f106b9d7d3aab9544c15f9f10b/openjpeg-trunk-r2299-2.dif | |
| patch -p1 < openjpeg-trunk-r2299-2.dif | |
| cmake . | |
| sudo make install | |
| sudo ldconfig | |
| go get -u github.com/eikeon/brikker | |
| go install github.com/eikeon/brikker | |
| end script | |
| script | |
| chdir /mnt/ | |
| /mnt/bin/brikker -address=":80" | |
| end script | |
| --===============0722602642128676011== | |
| Content-Type: text/cloud-config; charset="us-ascii" | |
| MIME-Version: 1.0 | |
| Content-Transfer-Encoding: 7bit | |
| Content-Disposition: attachment; filename="cloud-init" | |
| #cloud-config | |
| byobu_by_default: system | |
| apt_update: true | |
| apt_upgrade: true | |
| apt_sources: | |
| - source: ppa:gophers/go | |
| packages: | |
| - gcc | |
| - make | |
| - cmake | |
| - subversion | |
| - git | |
| - mercurial | |
| - bzr | |
| - golang-stable | |
| - htop | |
| timezone: US/Eastern | |
| ssh_authorized_keys: | |
| - ssh-dss AAAAB3NzaC1kc3MAAACBAIabrEPFILNgMjngSE+wo/2z150zQ50RQd128T3GEcgIjTa0hNtBTU0ak6CPBtFf2P2V2kgDKunD+4to/ao7j61Ynu1pQjvtdrPDb4QD9BNlgszgE0W6bYkesqRDnmG54s3vP/iTE/N3LQ/kLDzsDWCERU0iYf/jtqbUQhCdmrLZAAAAFQD+bFWRtHjrik/gWaPEGMMrtb2rewAAAIBt5bxqF/c8on9XMrd+was+VFJpW4k2fxred4acyiDRYVDkyouVv3309rwd6altamPT4G1ZAByBYgigFADGoN6m1Y8FiGAI7JtPJcOQPugwI8imu7C2+nnAs2FRGdVS6PJoODOYsZWXNbL5RyodvbRQxsd1p+bu/omXmAH2TrUTcQAAAIAXS77p+jzpB+fO/+WbhVaEXYfJ11nfmoC1K5CF/ToRLx8F8umJE1ayxd3bc6CT0rthHeJkZeLeMxr6gBNkwDbilQ56ItgSjW4gbgnb1WWBDF7i9oXlsjU3b5BjHhrKYtnRmSfhEmgOii1FN7AiSmbj/Vik94xJmijOogU2HjTxAA== [email protected] | |
| --===============0722602642128676011==-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment