1 |
commit: 80388667e0423fc0fe2844405efdb109fa74e68d |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 7 20:16:48 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 7 20:17:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80388667 |
7 |
|
8 |
dev-db/etcd: move init script start_pre to start |
9 |
|
10 |
Package-Manager: Portage-2.3.54, Repoman-2.3.12 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-db/etcd/files/etcd.initd | 5 +++-- |
14 |
1 file changed, 3 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-db/etcd/files/etcd.initd b/dev-db/etcd/files/etcd.initd |
17 |
index c9caecf7ff6..a2c67d0723d 100644 |
18 |
--- a/dev-db/etcd/files/etcd.initd |
19 |
+++ b/dev-db/etcd/files/etcd.initd |
20 |
@@ -1,5 +1,5 @@ |
21 |
#!/sbin/openrc-run |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
pidfile=/run/${RC_SVCNAME}.pid |
27 |
@@ -23,7 +23,7 @@ depend() { |
28 |
after bootmisc |
29 |
} |
30 |
|
31 |
-start_pre() { |
32 |
+start() { |
33 |
if [ ! -d "${LOGPATH}" ] ; then |
34 |
mkdir -p "${LOGPATH}" |
35 |
chown "${command_user}:${command_user}" "${LOGPATH}" |
36 |
@@ -32,4 +32,5 @@ start_pre() { |
37 |
mkdir -p "${ETCD_DATA_DIR}" |
38 |
chown "${command_user}:${command_user}" "${ETCD_DATA_DIR}" |
39 |
fi |
40 |
+ default_start |
41 |
} |