testing systemd integration

This commit is contained in:
G. Gibson 2024-04-28 09:35:45 -07:00
parent c728b01f6c
commit 20052464ec
2 changed files with 6 additions and 4 deletions

View file

@ -75,9 +75,9 @@ class Object
else else
gem_command("install --install-dir #{GxG::SYSTEM_PATHS[:gems]} #{gem_name.to_s}") gem_command("install --install-dir #{GxG::SYSTEM_PATHS[:gems]} #{gem_name.to_s}")
end end
end
else else
raise Exception, "Invalid gem or version specifier" raise Exception, "Invalid gem or version specifier"
end
end end
public public
end end

View file

@ -9,7 +9,9 @@ User=root
WorkingDirectory=/srv/gxg-server WorkingDirectory=/srv/gxg-server
ExecStart=/srv/gxg-server/daemon start #ExecStart=/srv/gxg-server/daemon start
#ExecStop=/srv/gxg-server/daemon stop
ExecStart=/usr/bin/env jruby /srv/gxg-server/Services/core.rb
ExecStop=/srv/gxg-server/daemon stop ExecStop=/srv/gxg-server/daemon stop
Restart=always Restart=always