summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service b/openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service
new file mode 100644
index 00000000..025f1f3c
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-cinder-scheduler.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Cinder scheduler server
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=cinder
+ExecStart=/usr/bin/cinder-scheduler --config-file /etc/cinder/cinder.conf --log-file=/var/log/cinder/cinder-scheduler.log
+
+[Install]
+WantedBy=multi-user.target