Explicit install dep => webrick

This commit is contained in:
G. Gibson 2024-04-28 14:10:40 -07:00
parent f36dc300cc
commit aa2b17fc70
3 changed files with 9 additions and 5 deletions

View file

@ -1505,7 +1505,7 @@ module GxG
#
if existing_permissions.is_a?(::Array)
existing_permissions.each do |entry|
::GxG::SERVICES[:core][:resources].set_permissions(the_path.to_s, entry[:credential] entry[:permissions])
::GxG::SERVICES[:core][:resources].set_permissions(the_path.to_s, entry[:credential], entry[:permissions])
end
end
#
@ -1587,7 +1587,7 @@ module GxG
end
#
def version()
::BigDecimal(@manifest[:version])
::BigDecimal.new(@manifest[:version])
end
#
def version=(the_version=nil)

View file

@ -17,6 +17,7 @@ if RUBY_ENGINE == "jruby"
requirements.push({:requirement => "psych", :gem => "psych"})
requirements.push({:requirement => "sinatra", :gem => "sinatra"})
requirements.push({:requirement => "sinatra-contrib", :gem => "sinatra-contrib"})
requirements.push({:requirement => "webrick", :gem => "webrick"})
requirements.push({:requirement => "webrocket", :gem => "webrocket"})
# Installation
requirements.each do |the_record|

View file

@ -8,15 +8,18 @@ Type=simple
User=root
WorkingDirectory=/srv/gxg-server
#ExecStart=/srv/gxg-server/daemon start
#ExecStop=/srv/gxg-server/daemon stop
#ExecStart=/usr/bin/sudo -u www-data /usr/bin/env jruby /srv/gxg-server/Services/core.rb
ExecStart=/usr/bin/sudo -u mistergibson /usr/bin/env jruby /srv/gxg-server/Services/core.rb
#ExecStart=/usr/bin/sudo -u mistergibson /usr/bin/env jruby /srv/gxg-server/Services/core.rb
ExecStart=/usr/bin/sudo -u mistergibson /srv/gxg-server/daemon start
PIDFile=/srv/gxg-server/System/Temporary/server.pid
ExecStop=/usr/bin/sudo -u mistergibson /srv/gxg-server/daemon stop
PIDFile=/srv/gxg-server/System/Temporary/server.pid
ExecStop=/srv/gxg-server/daemon stop
Restart=always