Sha256: 3ac1b4af1c50c5ed4c80acac71338729cecc164de7107979848df0e9f23a30e1

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

#!/usr/bin/env ruby -W:no-deprecated
# 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

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.4.1 bin/splash
prometheus-splash-0.4.0 bin/splash