finishing touches to gxg.service

This commit is contained in:
G. Gibson 2024-04-28 18:47:33 -07:00
commit 0125b2179c
3 changed files with 13 additions and 15 deletions

View file

@ -9,10 +9,11 @@ User=root
WorkingDirectory=/srv/gxg-server
#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
ExecStart=/usr/bin/sudo -u www-data /srv/gxg-server/server start --quiet
PIDFile=/srv/gxg-server/System/Temporary/server.pid
ExecStop=/usr/bin/sudo -u www-data /srv/gxg-server/server stop
Restart=always