Create vmpooler.service

This commit is contained in:
FrozenFOXX 2018-05-09 11:22:01 -05:00 committed by GitHub
parent 10245321bf
commit 7487ce4a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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