summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/aerospike-amc-community/files/amc.init23
1 files changed, 0 insertions, 23 deletions
diff --git a/app-admin/aerospike-amc-community/files/amc.init b/app-admin/aerospike-amc-community/files/amc.init
deleted file mode 100644
index 06c14001f5d6..000000000000
--- a/app-admin/aerospike-amc-community/files/amc.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-config_file=${config_file:-/etc/amc/config/gunicorn_config.py}
-run_dir=${run_dir:-/run}
-
-command="/usr/bin/gunicorn"
-command_args="--daemon --config ${config_file} flaskapp:app"
-command_background="true"
-pidfile=${run_dir}/${SVCNAME}.pid
-user=${user:-root}
-group=${group:-root}
-start_stop_daemon_args="--user ${user} --group ${group}"
-required_files="${config_file}"
-
-depend() {
- use net
-}
-
-start_post() {
- ewaitfile 60 "${pidfile}"
-}