upstream/openstack/python-nova/centos/files/openstack-nova-compute.service
Dean Troyer 9d3ca49387 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:37:19 -07:00

21 lines
472 B
Desktop File

[Unit]
Description=OpenStack Nova Compute Server
After=syslog.target network.target libvirtd.service
[Service]
Environment=LIBGUESTFS_ATTACH_METHOD=appliance
Type=simple
#NotifyAccess=all
TimeoutStartSec=0
#Restart=always
User=root
PIDFile=/var/run/nova/nova-compute.pid
ExecStart=/usr/bin/nova-compute
ExecStartPost=/bin/bash -c 'echo $MAINPID > /var/run/nova/nova-compute.pid'
ExecStop=/bin/kill -HUP $MAINPID
StandardOutput=null
[Install]
WantedBy=multi-user.target