Sha256: 505b6c883fc4721bfd319a7e81a10714d730e5dcba025d36fc33140a32262c19
Contents?: true
Size: 698 Bytes
Versions: 3
Compression:
Stored size: 698 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 require 'splash/dependencies' require 'splash/cli' #inhibit warning : due to prometheus-client call to URI.encode warning $-w = nil include Splash::Dependencies include Splash::Helpers include Splash::Exiter include Splash::Loggers include Splash::Config unless verify_file(name: CONFIG_FILE, mode: "644", owner: user_root, group: group_root).empty? then puts 'Splash need reconfiguration : Auto setup launch' if is_root? then acase = setupsplash splash_exit acase else puts 'ERROR : auto setup not start, because your not root, please run as root :' puts '(sudo or rvmsudo) splash [conf setup]' exit 50 end end CLI.start(ARGV)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prometheus-splash-0.5.3 | bin/splash |
prometheus-splash-0.5.2 | bin/splash |
prometheus-splash-0.5.0 | bin/splash |