mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Since the new recommended way to run is with JRuby I've adjusted the startup service to reflect that.
14 lines
328 B
Desktop File
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
|