summaryrefslogtreecommitdiff
path: root/dev-db/pgagent/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgagent/files')
-rw-r--r--dev-db/pgagent/files/pgagent.initd24
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-db/pgagent/files/pgagent.initd b/dev-db/pgagent/files/pgagent.initd
deleted file mode 100644
index a43916888bbb..000000000000
--- a/dev-db/pgagent/files/pgagent.initd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PGAGENTOPT="-t ${PGA_POLL} -r ${PGA_RETRY} -s ${PGA_LOG} -l ${PGA_LEVEL}"
-
-PGOPT="hostaddr=${PG_HOST} dbname=${PG_DBNAME} user=${PG_USER}"
-
-depend() {
- use net
- need postgresql
-}
-
-start() {
- ebegin "Starting pgagent"
- start-stop-daemon --start --exec /usr/bin/pgagent -- ${PGAGENTOPT} ${PGOPT}
- eend $?
-}
-
-stop() {
- ebegin "Stopping pgagent"
- start-stop-daemon --stop --name pgagent
- eend $?
-}