Mercurial Hosting > luan
view src/luan/modules/host/push.luan @ 1175:d6d0bd05ad8c
exit on bind conflict, serve "127.0.0.1" for serve_for_nginx
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 12 Feb 2018 14:55:28 -0700 |
parents | 1a68fc55a80c |
children |
line wrap: on
line source
local Io = require "luan:Io.luan" local print = Io.print local Hosting = require "luan:host/Hosting.luan" if #{...} ~= 3 then Io.stderr.write "usage: luan luan:host/push.luan domain password dir\n" return end Hosting.push(...) print("done with "..(...))