summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/maxscale/files/maxscale-init.d')
-rw-r--r--dev-db/maxscale/files/maxscale-init.d21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-db/maxscale/files/maxscale-init.d b/dev-db/maxscale/files/maxscale-init.d
deleted file mode 100644
index 1eaa046aefe9..000000000000
--- a/dev-db/maxscale/files/maxscale-init.d
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/sbin/openrc-run
-
-command=/usr/bin/maxscale
-command_args="-U maxscale -P /run/maxscale"
-name="MaxScale database proxy"
-pidfile="/run/maxscale/maxscale.pid"
-
-description="MaxScale provides database specific proxy functionality"
-extra_started_commands="reload"
-
-start_pre() {
- checkpath -D -o maxscale:maxscale /run/maxscale
-}
-
-reload()
-{
- ebegin "Reloading ${name}"
- pkill -HUP -F /run/maxscale/maxscale.pid
- eend $?
-}
-