summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/telegraf/files/telegraf.initd')
-rwxr-xr-xdev-db/telegraf/files/telegraf.initd31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-db/telegraf/files/telegraf.initd b/dev-db/telegraf/files/telegraf.initd
deleted file mode 100755
index a2089c2..0000000
--- a/dev-db/telegraf/files/telegraf.initd
+++ /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 telegraf"
-
- start-stop-daemon --start -b \
- --user ${TELEGRAF_USER}:${TELEGRAF_GROUP} \
- --pidfile /run/telegraf.pid \
- --make-pidfile \
- --stdout /var/log/telegraf/telegraf.log \
- --stderr /var/log/telegraf/telegraf.log \
- --exec /usr/bin/telegraf
- eend $?
-}
-
-stop() {
- ebegin "Stopping telegraf"
-
- start-stop-daemon --stop \
- --pidfile /run/telegraf.pid \
- --exec /usr/bin/telegraf
- eend $?
-}