summaryrefslogtreecommitdiff
path: root/app-admin/glance/files/glance.initd-r2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/glance/files/glance.initd-r2
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/glance/files/glance.initd-r2')
-rw-r--r--app-admin/glance/files/glance.initd-r217
1 files changed, 17 insertions, 0 deletions
diff --git a/app-admin/glance/files/glance.initd-r2 b/app-admin/glance/files/glance.initd-r2
new file mode 100644
index 000000000000..338de069750c
--- /dev/null
+++ b/app-admin/glance/files/glance.initd-r2
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Starts ${RC_SVCNAME} service for OpenStack"
+
+command=/usr/bin/${RC_SVCNAME}
+command_user="${GLANCE_USER:-glance}"
+command_background=yes
+pidfile=/run/${RC_SVCNAME}.pid
+required_files=/etc/glance/${RC_SVCNAME}.conf
+
+start_stop_daemon_args="--quiet"
+
+depend() {
+ need net
+}