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 mattkirby
parent f69e9398c1
commit 67d5ef73c2

View file

@ -6,7 +6,7 @@ After=basic.target network.target
[Service] [Service]
EnvironmentFile=-/etc/default/vmpooler EnvironmentFile=-/etc/default/vmpooler
WorkingDirectory=/opt/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 ExecReload=/bin/kill -HUP $MAINPID
KillMode=process KillMode=process