bin/splash in prometheus-splash-0.3.0 vs bin/splash in prometheus-splash-0.4.0
- old
+ new
@@ -8,9 +8,17 @@
$-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)
+CLI.start(ARGV)