From: | "Matt Thode (prometheanfire)" <prometheanfire@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/nova/files: nova.initd |
Date: | Tue, 01 Apr 2014 03:46:58 |
Message-Id: | 20140401034651.D486920060@flycatcher.gentoo.org |
1 | prometheanfire 14/04/01 03:46:51 |
2 | |
3 | Added: nova.initd |
4 | Log: |
5 | update to nova and deps 2013.2.9999 |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-cluster/nova/files/nova.initd |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/files/nova.initd?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/files/nova.initd?rev=1.1&content-type=text/plain |
14 | |
15 | Index: nova.initd |
16 | =================================================================== |
17 | #!/sbin/runscript |
18 | # Copyright 1999-2014 Gentoo Foundation |
19 | # Distributed under the terms of the GNU General Public License v2 |
20 | |
21 | description="Starts ${SVCNAME} service for OpenStack" |
22 | |
23 | command=/usr/bin/${SVCNAME} |
24 | command_background=yes |
25 | pidfile=/var/run/nova/${SVCNAME}.pid |
26 | required_files=/etc/nova/nova.conf |
27 | start_stop_daemon_args="--quiet --user ${NOVA_USER:-nova}" |
28 | |
29 | depend() { |
30 | need net |
31 | need rabbitmq |
32 | } |
33 | |
34 | start_pre() { |
35 | checkpath --directory --owner ${NOVA_USER:-nova}:${NOVA_GROUP:-nova} --mode 0664 ${NOVA_RUN:-/var/run/nova} |
36 | } |