
Adding theses lines to the systemd .service files will help to order the boot/shutdown process when the database and/or RabbitMQ are running on the same node as the service. Also done: - for glance-api, explicitly call glance-manage with config-dir to be able to add config snippets to /etc/glance/glance-api.conf.d/ - Drop some empty lines in the .service files Change-Id: Id9c36226289304adb7ef2438f6bc2de1dde9e144
16 lines
347 B
Desktop File
16 lines
347 B
Desktop File
[Unit]
|
|
Description=OpenStack shared file system service (Manila) - Scheduler
|
|
After=syslog.target network.target
|
|
After=mariadb.service postgresql.service rabbitmq-server.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=manila
|
|
Group=manila
|
|
WorkingDirectory=/var/lib/manila
|
|
PrivateTmp=yes
|
|
ExecStart=/usr/bin/manila-scheduler
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|