diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-text/groonga/files/groonga.initd | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/groonga/files/groonga.initd')
-rw-r--r-- | app-text/groonga/files/groonga.initd | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app-text/groonga/files/groonga.initd b/app-text/groonga/files/groonga.initd deleted file mode 100644 index 7d11ab6f7984..000000000000 --- a/app-text/groonga/files/groonga.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command=/usr/bin/groonga -command_args="-d --pid-path ${GROONGA_PID:-/run/groonga/groonga.pid} --config-path=${CONFIG_FILE:-/etc/groonga/groonga.conf} ${DATABASE}" -pidfile="${GROONGA_PID:-/run/groonga/groonga.pid}" -start_stop_daemon_args="--quiet --user ${GROONGA_USER:-groonga}:${GROONGA_GROUP:-groonga}" - -depend() { - use net -} - -start_pre() { - checkpath -d /run/groonga -o ${GROONGA_USER:-groonga}:${GROONGA_GROUP:-groonga} - if [ ! -e "${DATABASE}" ] ; then - einfo "Creating database ${DATABASE}" - su -s /bin/sh -c "/usr/bin/groonga -n ${DATABASE} quit" ${GROONGA_USER:-groonga} - fi -} |