Sha256: 20976813d926fc309aa37af27f0d254a9e229919a3a35e5318069328832c113f
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('..', File.dirname(__FILE__)) require 'runit-man/app' RunitMan.set :active_services_directory, ENV['RUNIT_ACTIVE_SERVICES_DIR'] || RunitMan::DEFAULT_ACTIVE_SERVICES_DIR RunitMan.set :all_services_directory, ENV['RUNIT_ALL_SERVICES_DIR'] || RunitMan::DEFAULT_ALL_SERVICES_DIR RunitMan.set :runit_logger, ENV['RUNIT_LOGGER'] || RunitMan::DEFAULT_LOGGER if ENV['RUNIT_MAN_VIEW_FILES'] ENV['RUNIT_MAN_VIEW_FILES'].split(/\s*\,\s*/).each do |floc| RunitMan.enable_view_of(floc) end end if ENV['RUNIT_MAN_CREDENTIALS'] ENV['RUNIT_MAN_CREDENTIALS'].split(/\s*\,\s*/).each do |cred| RunitMan.add_user(*(cred.split(':', 2))) end end RunitMan.prepare_to_run run RunitMan
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
runit-man-2.3.8 | lib/runit-man/config.ru |
runit-man-2.3.7 | lib/runit-man/config.ru |