diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-misc/conmux/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/conmux/files')
-rw-r--r-- | app-misc/conmux/files/conmux-registry.confd | 4 | ||||
-rw-r--r-- | app-misc/conmux/files/conmux-registry.initd | 31 | ||||
-rw-r--r-- | app-misc/conmux/files/conmux.confd | 14 | ||||
-rw-r--r-- | app-misc/conmux/files/conmux.initd | 39 |
4 files changed, 0 insertions, 88 deletions
diff --git a/app-misc/conmux/files/conmux-registry.confd b/app-misc/conmux/files/conmux-registry.confd deleted file mode 100644 index ac7bd8c20d5e..000000000000 --- a/app-misc/conmux/files/conmux-registry.confd +++ /dev/null @@ -1,4 +0,0 @@ -# Port for Registry listener -CONMAX_REGISTRY_PORT="63000" -# Log file -CONMAX_REGISTRY_LOG="/var/log/conmux-registry.log" diff --git a/app-misc/conmux/files/conmux-registry.initd b/app-misc/conmux/files/conmux-registry.initd deleted file mode 100644 index 3e3179a224ab..000000000000 --- a/app-misc/conmux/files/conmux-registry.initd +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -checkconfig() { - # Set sane defaults - if [ -z ${CONMUX_REGISTRY_PORT} ]; then - CONMUX_REGISTRY_PORT="63000" - fi - if [ -z ${CONMUX_REGISTRY_LOG} ]; then - CONMUX_REGISTRY_LOG="/var/log/conmux-registry.log" - fi -} - -start() { - checkconfig - # Make sure conmux finds everything - export PATH="${PATH}:/usr/share/conmux/drivers:/usr/share/conmux/helpers" - ebegin "Starting conmux registry daemon" - [ -e ${CONMUX_REGISTRY_LOG} ] && rm ${CONMUX_REGISTRY_LOG} - touch ${CONMUX_REGISTRY_LOG} - start-stop-daemon -b -m --start -p /run/conmux-registry.pid \ - --exec /usr/sbin/conmux-registry -- ${CONMUX_REGISTRY_PORT} \ - ${CONMUX_REGISTRY_LOG} -} - -stop() { - ebegin "Stopping conmux registry daemon" - start-stop-daemon --stop --pidfile /run/conmux-registry.pid - eend $? -} diff --git a/app-misc/conmux/files/conmux.confd b/app-misc/conmux/files/conmux.confd deleted file mode 100644 index 7f983c9ac409..000000000000 --- a/app-misc/conmux/files/conmux.confd +++ /dev/null @@ -1,14 +0,0 @@ -# Configuration file -# It should point to a valid device configuration file -# eg CONMUX_CONFIG="/etc/conmux/deviceA.cf -# -# See https://github.com/autotest/autotest/wiki/Conmux-Howto -# and https://github.com/autotest/autotest/wiki/Conmux-OriginalDocumentation -# for examples -# -# Default value is empty so the init script will fail and force you -# to create a new config -# -CONMUX_CONFIG="" -# Log file -CONMUX_LOG="/var/log/conmux.log" diff --git a/app-misc/conmux/files/conmux.initd b/app-misc/conmux/files/conmux.initd deleted file mode 100644 index b74fd28b969c..000000000000 --- a/app-misc/conmux/files/conmux.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use net - need conmux-registry -} - -checkconfig() { - if [ ! -f ${CONMUX_CONFIG} ]; then - eerror "" - eerror "No conmux configuration file was found!" - eerror "Please read the conmux README file." - eerror "" - return 1 - fi - # Sane default - if [ -z ${CONMUX_LOG} ]; then - CONMUX_LOG="/var/log/conmux.log" - fi - return 0 -} - -start() { - checkconfig || exit 1 - # Make sure conmux finds everything - export PATH="${PATH}:/usr/share/conmux/drivers:/usr/share/conmux/helpers" - ebegin "Starting conmux daemon" - start-stop-daemon -m -b --start -1 ${CONMUX_LOG} \ - -2 ${CONMUX_LOG} -p /run/${SVCNAME}.pid \ - --exec /usr/sbin/conmux -- ${CONMUX_CONFIG} -} - -stop() { - ebegin "Stopping conmux daemon" - start-stop-daemon --stop --pidfile /run/${SVCNAME}.pid - eend $? -} |