Updated Installer

This commit is contained in:
G. Gibson 2024-04-28 20:39:13 -07:00
parent 447790f95e
commit ecc70bfc3a

View file

@ -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