summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/influxdb/files/influxdb.init.d')
-rwxr-xr-xdev-db/influxdb/files/influxdb.init.d31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-db/influxdb/files/influxdb.init.d b/dev-db/influxdb/files/influxdb.init.d
deleted file mode 100755
index c98c7b0..0000000
--- a/dev-db/influxdb/files/influxdb.init.d
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
- after bootmisc
-}
-
-start() {
- ebegin "Starting influxdb server"
-
- start-stop-daemon --start -b \
- --user influxdb:influxdb \
- --pidfile /run/influxdb.pid \
- --make-pidfile \
- --stdout /var/log/influxdb/influxd.log \
- --stderr /var/log/influxdb/influxd.log \
- --exec /usr/bin/influxd -- -config /etc/influxdb/influxdb.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping influxdb server"
-
- start-stop-daemon --stop \
- --pidfile /run/influxdb.pid \
- --exec /usr/bin/influxd
- eend $?
-}