gxg-service integration testing

This commit is contained in:
G. Gibson 2024-04-28 09:50:07 -07:00
parent d8e3ba92e4
commit f36dc300cc

24
seeds/gxg-service-testing Normal file
View file

@ -0,0 +1,24 @@
[Unit]
Description=GxG Data Server
After=network.target
[Service]
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
PIDFile=/srv/gxg-server/System/Temporary/server.pid
ExecStop=/srv/gxg-server/daemon stop
Restart=always
[Install]
WantedBy=multi-user.target