This file contains 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
global | |
log 127.0.0.1 local0 | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global | |
mode tcp |
This file contains 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
# HAPROXY Config for FTP | |
# my apologies for the spacing | |
global | |
log 127.0.0.1 local0 info | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
defaults | |
log global |
This file contains 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
var spawn = require('child_process').spawn; | |
var Run = require('./Run'); | |
module.exports = { | |
Tool: function(tool, args) { | |
try { | |
console.log("Tool ("+tool+") spawn: " + tool + " " + args.split(" ").toString()); | |
var proc = spawn('tools\\' +tool, args.split(" ")); |