mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Updated Installer
This commit is contained in:
parent
447790f95e
commit
ecc70bfc3a
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue