diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /dev-db/etcd/files | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'dev-db/etcd/files')
-rw-r--r-- | dev-db/etcd/files/etcd.initd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-db/etcd/files/etcd.initd b/dev-db/etcd/files/etcd.initd index c9caecf7ff69..a2c67d0723da 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 } |