This commit is contained in:
AJ ONeal 2015-12-31 02:37:57 +00:00
parent bef1fbaba4
commit aaebc5494e
1 changed files with 8 additions and 0 deletions

View File

@ -1,8 +1,16 @@
'use strict';
var punch = require('../');
var exec = require('child_process').exec;
function touch() {
exec("/usr/local/bin/ddns --hostname sarah.daplie.com --email 'coolaj86@gmail.com' --agree --token /srv/holepunch/bin/token.jwt", function (err, stdout, stderr) {
if (err || stderr) {
console.error('ddns error:', err || stderr);
}
//console.log(stdout);
});
punch({
mappings: [
{ internal: 80