Last active
October 23, 2015 14:55
-
-
Save include/82ba0ffd84734619c653 to your computer and use it in GitHub Desktop.
lol start
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
| root@e5ded7e1593c:/base# cat start.pl | |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| ## Move app into place | |
| mkdir('/runtime') unless -d '/runtime'; | |
| system(split(/\s+/, "/usr/bin/rsync -a /build/ /runtime/app")); | |
| exec(@ARGV); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mkdir -p /runtine && rsync -a /build/ /runtime/app