service restart question

Gary Kotton gkotton at
Mon Jun 25 13:57:05 UTC 2012


I recently encountered a problem with the Openstack Quantum service. The
service was installed by doing the following steps:
     - sudo yum install openstack-quantum
     - sudo systemctl enable quantum-server.service
     - sudo systemctl start quantum-server.service
Due to a bug the service terminated.

The contents of the file
/etc/systemd/system/ is below:
Description=OpenStack Quantum Server

ExecStart=/usr/bin/quantum-server --config-file
/etc/quantum/quantum.conf --log-file /var/log/quantum/server.log


My understanding is that if there is a entry in the "Service" section
"Restart=always", then we can rely on systemd to restart the service if
it dies.

Can someone please explain or clarify why this is not the default value?
I can understand that this should not be set if there is another
"watcher" process that can restart a failed service.

Thanks in advance

More information about the devel mailing list