mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
testing systemd integration
This commit is contained in:
parent
c728b01f6c
commit
20052464ec
2 changed files with 6 additions and 4 deletions
|
|
@ -75,9 +75,9 @@ class Object
|
|||
else
|
||||
gem_command("install --install-dir #{GxG::SYSTEM_PATHS[:gems]} #{gem_name.to_s}")
|
||||
end
|
||||
end
|
||||
else
|
||||
raise Exception, "Invalid gem or version specifier"
|
||||
else
|
||||
raise Exception, "Invalid gem or version specifier"
|
||||
end
|
||||
end
|
||||
public
|
||||
end
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ User=root
|
|||
|
||||
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
|
||||
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Reference in a new issue