summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-01-07 12:16:48 -0800
committerZac Medico <zmedico@gentoo.org>2019-01-07 12:17:32 -0800
commit80388667e0423fc0fe2844405efdb109fa74e68d (patch)
treed3bb0c44eff8cebe58435381d76edeaee3050b8b /dev-db
parentsys-kernel/git-sources: bump to v5.0 RC1 (diff)
downloadgentoo-80388667e0423fc0fe2844405efdb109fa74e68d.tar.gz
gentoo-80388667e0423fc0fe2844405efdb109fa74e68d.tar.bz2
gentoo-80388667e0423fc0fe2844405efdb109fa74e68d.zip
dev-db/etcd: move init script start_pre to start
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/etcd/files/etcd.initd5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-db/etcd/files/etcd.initd b/dev-db/etcd/files/etcd.initd
index c9caecf7ff6..a2c67d0723d 100644
--- a/dev-db/etcd/files/etcd.initd
+++ b/dev-db/etcd/files/etcd.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
pidfile=/run/${RC_SVCNAME}.pid
@@ -23,7 +23,7 @@ depend() {
after bootmisc
}
-start_pre() {
+start() {
if [ ! -d "${LOGPATH}" ] ; then
mkdir -p "${LOGPATH}"
chown "${command_user}:${command_user}" "${LOGPATH}"
@@ -32,4 +32,5 @@ start_pre() {
mkdir -p "${ETCD_DATA_DIR}"
chown "${command_user}:${command_user}" "${ETCD_DATA_DIR}"
fi
+ default_start
}