From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- www-servers/automx2/files/init | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 www-servers/automx2/files/init (limited to 'www-servers/automx2/files/init') diff --git a/www-servers/automx2/files/init b/www-servers/automx2/files/init deleted file mode 100644 index 466461a6cd93..000000000000 --- a/www-servers/automx2/files/init +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${AUTOMX2_CONF:="/etc/${RC_SVCNAME}.conf"} -: ${AUTOMX2_USER:="automx2"} -: ${AUTOMX2_ARGS:="--port 4243"} - -command="/usr/bin/python" -command_args="/usr/bin/flask run ${AUTOMX2_ARGS}" -command_background="true" -command_user="${AUTOMX2_USER}" -pidfile="/run/${RC_SVCNAME}.pid" -required_files="${AUTOMX2_CONF}" - -depend() { - use logger net - before nginx -} - -start_pre() { - export AUTOMX2_CONF - export EPYTHON="@EPYTHON@" - export FLASK_APP="automx2.server:app" - export FLASK_ENV="production" -} -- cgit v1.2.3