Sha256: 69bb76059bdc063ac102740013656f76cfd5ddf22ab403d32a6fe2eed13579c4

Contents?: true

Size: 607 Bytes

Versions: 4

Compression:

Stored size: 607 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 'ERROR: Splash need reconfiguration : execution abort, '
  puts ' => Restart after rebuild (recheck for homemade templates) :'

  acase = run_as_root :setupsplash
  splash_exit acase
end

CLI.start(ARGV)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prometheus-splash-0.4.5 bin/splash
prometheus-splash-0.4.4 bin/splash
prometheus-splash-0.4.3 bin/splash
prometheus-splash-0.4.2 bin/splash