Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-extended / ceph / files / mgr-restful-plugin.service
diff --git a/meta-stx/recipes-extended/ceph/files/mgr-restful-plugin.service b/meta-stx/recipes-extended/ceph/files/mgr-restful-plugin.service
new file mode 100644 (file)
index 0000000..b3e61f0
--- /dev/null
@@ -0,0 +1,15 @@
+[Unit]
+Description=Ceph MGR RESTful API Plugin
+After=network-online.target sw-patch.service
+
+[Service]
+Type=forking
+Restart=no
+KillMode=process
+RemainAfterExit=yes
+ExecStart=/etc/rc.d/init.d/mgr-restful-plugin start
+ExecStop=/etc/rc.d/init.d/mgr-restul-plugin stop
+ExecReload=/etc/rc.d/init.d/mgr-restful-plugin reload
+
+[Install]
+WantedBy=multi-user.target