Create vmpooler.service

This commit is contained in:
FrozenFOXX 2018-05-09 11:22:01 -05:00 committed by mattkirby
parent 3e8f5eb031
commit f69e9398c1

14
scripts/vmpooler.service Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=VmPooler
Wants=basic.target
After=basic.target network.target
[Service]
EnvironmentFile=-/etc/default/vmpooler
WorkingDirectory=/opt/vmpooler
ExecStart=/opt/vmpooler/vmpooler
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target