Adjusted with jruby

Since the new recommended way to run is with JRuby I've adjusted the startup service to reflect that.
This commit is contained in:
FrozenFOXX 2018-05-24 17:31:18 -05:00 committed by GitHub
parent 7487ce4a33
commit edac3aaadf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ After=basic.target network.target
[Service]
EnvironmentFile=-/etc/default/vmpooler
WorkingDirectory=/opt/vmpooler
ExecStart=/opt/vmpooler/vmpooler
ExecStart=/opt/jruby/bin/jruby /opt/vmpooler/vmpooler -s Puma -E production
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process