Skip to content

Instantly share code, notes, and snippets.

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(" "));
@Xstasy
Xstasy / haproxy.cfg
Last active August 20, 2020 12:26
Load balancing not working tried with balance roundrobin and balance leastconn in ftp-balancer-pool
# 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
global
log 127.0.0.1 local0
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
defaults
log global
mode tcp