included gxg-service-testing

This commit is contained in:
G. Gibson 2024-04-28 09:36:18 -07:00
parent 20052464ec
commit 97d8799bb2
5 changed files with 24 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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