mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
gxg-service integration testing
This commit is contained in:
parent
d8e3ba92e4
commit
f36dc300cc
1 changed files with 24 additions and 0 deletions
24
seeds/gxg-service-testing
Normal file
24
seeds/gxg-service-testing
Normal 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
|
||||
Loading…
Reference in a new issue