*: add exec 2>&1 to all existing services
except when it already exists, of course
This commit is contained in:
parent
b5d44cefbb
commit
351646d5bd
392 changed files with 392 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec 3proxy /etc/3proxy/3proxy.cfg
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/libexec/clightd 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u _eternal etserver
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u _freeradius:_freeradius radiusd -f
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
# The Google services assert that the init is performing some
|
||||
# sequencing. Since runit provides no such facility, we will block
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
sv check GCP-Guest-Initialization >/dev/null || exit 1
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec NetworkManager -n > /dev/null 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec swapspace
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec acpid -f ${OPTS:=-l}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
# Add $ARGS for more arguments
|
||||
[ -f ./conf ] && . ./conf
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec alfred ${OPTS:=-i "bat0" -b "bat0"}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec batadv-vis ${OPTS:=-si bat0}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
alsactl restore
|
||||
exec chpst -b alsa pause
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
[ -r conf ] && . ./conf
|
||||
adb ${OPTS:=start-server -P5037}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec anopeservices \
|
||||
--confdir=/etc/anope \
|
||||
--dbdir=/var/lib/anope \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec /usr/lib/kafka/bin/zookeeper-server-start.sh ${PROPERTIES_FILE:-/usr/lib/kafka/config/zookeeper.properties}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec /usr/lib/kafka/bin/kafka-server-start.sh ${PROPERTIES_FILE:-/usr/lib/kafka/config/server.properties}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
|
||||
export CATALINA_BASE=/usr/share/apache-tomcat
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf] && . ./conf
|
||||
exec apcupsd -b ${OPTS}
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec ardor-tor > /dev/null
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec ardor > /dev/null
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec armagetronad-dedicated
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
asus-kbd-backlight allowusers
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec atd -f
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec atop -a -w /var/log/atop/atop_$(date +%Y%m%d) 600
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
exec 2>&1
|
||||
|
||||
test ! -r ./conf || . ./conf
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec auditd -n
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
# if dbus is enabled wait for it.
|
||||
if [ -e /var/service/dbus ]; then
|
||||
sv check dbus > /dev/null || exit 1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ ! -d /run/bacula ] && mkdir /run/bacula
|
||||
exec bacula-dir -f -c /etc/bacula/bacula-dir.conf
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ ! -d /run/bacula ] && mkdir /run/bacula
|
||||
exec bacula-fd -f -c /etc/bacula/bacula-fd.conf
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ ! -d /run/bacula ] && mkdir /run/bacula
|
||||
exec bacula-sd -f -c /etc/bacula/bacula-sd.conf
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
[ -z $SERVER_ADDR ] && exit 0
|
||||
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
[ -z $SKIP_X11_TEST ] && ! ps -C Xorg >/dev/null 2>&1 && exit 0
|
||||
exec barriers --no-daemon ${OPTS:=--restart}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
# By default use persistent storage (binary log)
|
||||
[ -r conf ] && . ./conf
|
||||
exec chpst -u _beanstalkd:_beanstalkd beanstalkd ${OPTS:=-b /var/lib/beanstalkd} 2>&1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec beard -H ${BEARD_HIBERNATE:=/usr/bin/zzz} $OPTS
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec bftpd -D
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
update-binfmts --enable
|
||||
exec chpst -b binfmt-support pause
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec bird -f -u _bird -g _bird ${OPTS:=-c /etc/bird.conf}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec bird_exporter ${OPTS:=-bird.v2 -format.new}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
install -d -m0755 -o bitlbee -g bitlbee /run/bitlbee
|
||||
[ -r conf ] && . ./conf
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
# Add $ARGS for more arguments to blackbox_exporter
|
||||
# $CONF_FILE is the location of the configuration file.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
install -d -m0755 -o _bluez_alsa -g audio /run/bluealsa
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/libexec/boltd > /dev/null 2>&1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
mkdir -p /var/run/brltty || exit 1
|
||||
exec brltty -n
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec bumblebeed --use-syslog
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec burp -F -c /etc/burp/burp-server.conf
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec busybox klogd -n
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec busybox ntpd -nN -p pool.ntp.org
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec busybox syslogd -n
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
modprobe cachefiles || exit 1
|
||||
exec cachefilesd -n ${OPTS:= -f /etc/cachefilesd.conf}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec canto-daemon
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
exec chpst -u _chronograf:_chronograf chronograf --bolt-path=/var/lib/chronograf/chronograf-v1.db --canned-path=/usr/share/chronograf/canned
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
install -d -m750 -o chrony -g chrony /var/run/chrony
|
||||
exec chronyd -n -u chrony
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec /usr/bin/ckb-next-daemon 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec cntlm -f 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec collectd -f
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u colord /usr/libexec/colord 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
ulimit -n ${MAX_OPEN_FILES:-8192}
|
||||
export CONDUIT_CONFIG=${CONDUIT_CONFIG:-/etc/conduit/conduit.toml}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec connmand -n ${OPTS}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
env modeprobe overlay
|
||||
exec containerd
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u _coturn:_coturn turnserver -c /etc/turnserver.conf
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec criu service ${OPTS:=-o /var/log/criu-service.log}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec cronie-crond -n $OPTS 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec cups-browsed
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec cupsd -f
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
: ${WWWDIR:=/srv/www/darkhttpd}
|
||||
exec darkhttpd "${WWWDIR}" --chroot --uid _darkhttpd --gid _darkhttpd $OPTS 2>&1 >>/var/log/darkhttpd/darkhttpd.log
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ ! -d /run/dbus ] && install -m755 -g 22 -o 22 -d /run/dbus
|
||||
exec dbus-daemon --system --nofork --nopidfile
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ ! -d /run/dbus ] && install -m755 -g 22 -o 22 -d /run/dbus
|
||||
exec dbus-daemon --system --nofork --nopidfile
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec dcrond -f $OPTS 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec ddclient -foreground
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
sv check deluged >/dev/null || exit 1
|
||||
HOME=/var/lib/deluge
|
||||
exec chpst -u deluge:deluge deluge-web -d 2>&1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec deluged -d -U deluge -g deluge -c /var/lib/deluge/.config/deluge ${OPTS} 2>&1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec dhcpcd -B eth0 $OPTS 1>&2
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec dhcpcd -B ${OPTS:=-M} 1>&2
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec 2>/dev/null
|
||||
exec chpst -u dictd:dictd dictd --debug nodetach ${OPTS:=--locale en_US.UTF-8 -s}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
exec diod -f 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
PROG="distccd"
|
||||
USER="nobody"
|
||||
OPTIONS="--no-detach"
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u _dkim:_dkim dkimproxy.in --conf_file=/etc/dkimproxy_in.conf 2>&1
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u _dkim:_dkim dkimproxy.out --conf_file=/etc/dkimproxy_out.conf 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -f ./conf ] && . ./conf
|
||||
MAX_OPEN_FILES=${MAX_OPEN_FILES:-2048}
|
||||
exec chpst -o $MAX_OPEN_FILES dnsdist --uid _dnsdist --gid _dnsdist --supervised --disable-syslog
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
mkdir -p /var/lib/misc
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec dnsmasq -k ${OPTS:---enable-dbus -u dnsmasq -g dnsmasq} 2>&1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
install -d -m 0755 -o root -g root /var/run/dovecot
|
||||
exec dovecot -F
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec chpst -U _dqcache -e /etc/dqcache/env dqcache 2>&1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
set -e
|
||||
/usr/libexec/drbd start
|
||||
exec chpst -b drbd pause
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec dropbear ${OPTS:=-F -R}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -f ./conf ] && . ./conf
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
exec earlyoom ${OPTS} 2>&1 >/dev/null
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
edac-ctl --register-labels
|
||||
exec chpst -b edac pause
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -u elog:elog /usr/bin/elogd -c /etc/elog/elogd.cfg
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
# elogind doesn't work right if it starts before dbus
|
||||
sv check dbus >/dev/null || exit 1
|
||||
exec /usr/libexec/elogind/elogind.wrapper
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
export ETCD_DATA_DIR=/var/lib/etcd
|
||||
export ETCD_NAME=etcd
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue