Skip to content

Instantly share code, notes, and snippets.

@include
Last active October 23, 2015 14:55
Show Gist options
  • Select an option

  • Save include/82ba0ffd84734619c653 to your computer and use it in GitHub Desktop.

Select an option

Save include/82ba0ffd84734619c653 to your computer and use it in GitHub Desktop.
lol start
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);
@include
Copy link
Author

include commented Oct 23, 2015

mkdir -p /runtine && rsync -a /build/ /runtime/app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment