lib/mkit.rb in mkit-0.3.0 vs lib/mkit.rb in mkit-0.4.0

- old
+ new

@@ -108,9 +108,12 @@ # create interfaces of deployed apps otherwise haproxy won't start Service.all.each { | srv | srv.deploy_network srv.update_status! } + # daemontools would eventually start haproxy; systemd does not. + # so, restart here. + MKIt::HAProxy.restart end def self.startup(options: {}) self.configure(options: options) self.establish_db_connection