summaryrefslogtreecommitdiff
path: root/app-admin/glance/files/glance.initd-r2
blob: 338de069750c9015fabe0aa9f23f2b1b93966a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}