Skip to content

Instantly share code, notes, and snippets.

@lancechentw
Last active August 29, 2015 13:57
Show Gist options
  • Save lancechentw/9373053 to your computer and use it in GitHub Desktop.
Save lancechentw/9373053 to your computer and use it in GitHub Desktop.
user "blah";
password "blah";
pass_auth;
group myserver => "mypi";
task "myperl", group => "myserver", sub {
file "/home/user/myperl.pl",
source => "myperl.pl",
mode => 755;
say run "perl /home/user/myperl.pl";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment