vmpooler/scripts/vmpooler.service
FrozenFOXX 67d5ef73c2 Adjusted with jruby
Since the new recommended way to run is with JRuby I've adjusted the startup service to reflect that.
2018-05-30 12:18:49 -07:00

14 lines
328 B
Desktop File

[Unit]
Description=VmPooler
Wants=basic.target
After=basic.target network.target
[Service]
EnvironmentFile=-/etc/default/vmpooler
WorkingDirectory=/opt/vmpooler
ExecStart=/opt/jruby/bin/jruby /opt/vmpooler/vmpooler -s Puma -E production
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target