From ecc70bfc3a89515ec8f4029612b401e426fe91b6 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sun, 28 Apr 2024 20:39:13 -0700 Subject: [PATCH] Updated Installer --- install.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.rb b/install.rb index 08aefe6..d6ad3d1 100755 --- a/install.rb +++ b/install.rb @@ -26,6 +26,11 @@ if RUBY_ENGINE == "jruby" system("sudo jgem install #{the_record[:gem]}") end end + system("sudo cp #{(::File.dirname(__FILE__) << '/seeds/gxg.service')} /etc/systemd/system/gxg.service") + system("sudo systemctl daemon-reload") + system("sudo systemctl enable gxg") + system("sudo systemctl daemon-reload") + puts "Now type ./setup.rb to complete the installation." else # no-op end