From cbdf25502bb25cb06f7820fc5f6246d57859da07 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 2 Feb 2023 03:02:12 -0500 Subject: [PATCH 01/10] common/environment/setup/install.sh: always add log service - overridable by having a log service at `$pkgname/files/$service/log` - warns if stderr is not redirected in the main service - uses a sane default run script with the service name set as tag and daemon facility --- common/environment/setup/install.sh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/common/environment/setup/install.sh b/common/environment/setup/install.sh index 5f0571de14ae..b0c5b22f4c2a 100644 --- a/common/environment/setup/install.sh +++ b/common/environment/setup/install.sh @@ -19,11 +19,12 @@ done _vsv() { local service="$1" + local facility="${2:-daemon}" local LN_OPTS="-s" local svdir="${PKGDESTDIR}/etc/sv/${service}" - if [ $# -lt 1 ]; then - msg_red "$pkgver: vsv: 1 argument expected: \n" + if [ $# -lt 1 ] || [ $# -gt 2 ]; then + msg_red "$pkgver: vsv: up to 2 arguments expected: []\n" return 1 fi @@ -34,17 +35,25 @@ _vsv() { vmkdir etc/sv vcopy "${FILESDIR}/$service" etc/sv if [ ! -L $svdir/run ]; then + grep -Fq 'exec 2>&1' $svdir/run || msg_warn "$pkgver: vsv: service '$service' does not contain 'exec 2>&1' to log stderr\n" chmod 755 $svdir/run fi if [ -e $svdir/finish ] && [ ! -L $svdir/finish ]; then chmod 755 $svdir/finish fi ln ${LN_OPTS} /run/runit/supervise.${service} $svdir/supervise - if [ -d $svdir/log ]; then - ln ${LN_OPTS} /run/runit/supervise.${service}-log $svdir/log/supervise - if [ -e $svdir/log/run ] && [ ! -L $svdir/log/run ]; then - chmod 755 ${PKGDESTDIR}/etc/sv/${service}/log/run - fi + if [ -d $svdir/log ] || [ -L $svdir/log ]; then + msg_warn "$pkgver: vsv: overriding default log service\n" + else + mkdir $svdir/log + cat <<-EOF > $svdir/log/run + #!/bin/sh + exec vlogger -t $service -p $facility + EOF + fi + ln ${LN_OPTS} /run/runit/supervise.${service}-log $svdir/log/supervise + if [ -e $svdir/log/run ] && [ ! -L $svdir/log/run ]; then + chmod 755 ${PKGDESTDIR}/etc/sv/${service}/log/run fi } From f482d9767fd853bdcd2cd81d580dc6cc342dbc94 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 2 Feb 2023 03:09:42 -0500 Subject: [PATCH 02/10] Manual.md: document vsv log autocreation --- Manual.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Manual.md b/Manual.md index a5e99d29fe4c..31494036d5e2 100644 --- a/Manual.md +++ b/Manual.md @@ -304,7 +304,7 @@ The following functions are defined by `xbps-src` and can be used on any templat `$DESTDIR`. The optional 2nd argument can be used to change the `file name`. See [license](#var_license) for when to use it. -- *vsv()* `vsv ` +- *vsv()* `vsv []` Installs `service` from `${FILESDIR}` to /etc/sv. The service must be a directory containing at least a run script. Note the `supervise` @@ -312,6 +312,11 @@ The following functions are defined by `xbps-src` and can be used on any templat is automatically made executable by this function. For further information on how to create a new service directory see [The corresponding section the FAQ](http://smarden.org/runit/faq.html#create). + A `log` sub-service will be automatically created if one does not exist in + `${FILESDIR}/$service`, containing `exec vlogger -t $service -p $facility`. + if a second argument is not specified, the `daemon` facility is used. + For more information about `vlogger` and available values for the facility, + see [vlogger(1)](https://man.voidlinux.org/vlogger.1). - *vsed()* `vsed -i -e ` From 3b870c17b18d0d27069adeb00cf488f0b832b8aa Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 2 Feb 2023 03:10:03 -0500 Subject: [PATCH 03/10] *: remove log dir en-masse --- srcpkgs/Clightd/files/Clightd/log/run | 3 --- srcpkgs/Gokapi/files/gokapi/log/run | 3 --- srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run | 4 ---- srcpkgs/NetAuth/files/netauthd/log/run | 4 ---- srcpkgs/PopCorn/files/popcorn/log/run | 2 -- srcpkgs/TerraState/files/terrastate/log/run | 4 ---- srcpkgs/activityrelay/files/activityrelay/log/run | 1 - srcpkgs/apache-kafka/files/apache-kafka-zookeeper/log/run | 2 -- srcpkgs/apache-kafka/files/apache-kafka/log/run | 2 -- srcpkgs/autofs/files/autofs/log/run | 2 -- srcpkgs/beanstalkd/files/beanstalkd/log/run | 2 -- srcpkgs/bind/files/named/log/run | 2 -- srcpkgs/bluez/files/bluetooth-meshd/log/run | 1 - srcpkgs/bluez/files/bluetoothd/log/run | 1 - srcpkgs/boinc/files/boinc/log/run | 1 - srcpkgs/busybox/files/busybox-ntpd/log/run | 2 -- srcpkgs/caddy/files/caddy/log/run | 1 - srcpkgs/ckb-next/files/ckb-next-daemon/log/run | 2 -- srcpkgs/conduit/files/conduit/log/run | 1 - srcpkgs/coredns/files/coredns/log/run | 3 --- srcpkgs/coturn/files/coturnserver/log/run | 1 - srcpkgs/cronie/files/cronie/log/run | 2 -- srcpkgs/dcron/files/dcron/log/run | 2 -- srcpkgs/dendrite/files/dendrite-monolith-server/log/run | 1 - srcpkgs/dhcp/files/dhclient/log/run | 1 - srcpkgs/dhcp/files/dhcpd4/log/run | 1 - srcpkgs/dhcp/files/dhcpd6/log/run | 1 - srcpkgs/dkimproxy/files/dkimproxy_in/log/run | 2 -- srcpkgs/dkimproxy/files/dkimproxy_out/log/run | 2 -- srcpkgs/dnscrypt-proxy/files/dnscrypt-proxy/log/run | 2 -- srcpkgs/dotool/files/dotoold/log/run | 2 -- srcpkgs/dq/files/dqcache/log/run | 2 -- srcpkgs/duiadns/files/duiadns/log/run | 3 --- srcpkgs/earlyoom/files/earlyoom/log/run | 2 -- srcpkgs/espeakup/files/espeakup/log/run | 2 -- srcpkgs/gerbera/files/gerbera/log/run | 1 - srcpkgs/gitea/files/gitea/log/run | 1 - srcpkgs/go-ipfs/files/ipfs/log/run | 1 - srcpkgs/goatcounter/files/goatcounter/log/run | 2 -- srcpkgs/gotify-server/files/gotify-server/log/run | 1 - srcpkgs/grafana/files/grafana/log/run | 2 -- srcpkgs/grub-btrfs/files/grub-btrfs/log/run | 2 -- srcpkgs/i2pd/files/i2pd/log/run | 1 - srcpkgs/incron/files/incron/log/run | 2 -- srcpkgs/influxdb/files/influxdb/log/run | 2 -- srcpkgs/iwd/files/ead/log/run | 2 -- srcpkgs/iwd/files/iwd/log/run | 2 -- srcpkgs/libvirt/files/libvirt-generic/log/run | 7 ------- srcpkgs/libvirt/files/libvirtd/log/run | 1 - srcpkgs/libvirt/files/virtinterfaced/log/run | 1 - srcpkgs/libvirt/files/virtlockd/log/run | 1 - srcpkgs/libvirt/files/virtlogd/log/run | 1 - srcpkgs/libvirt/files/virtlxcd/log/run | 1 - srcpkgs/libvirt/files/virtnetworkd/log/run | 1 - srcpkgs/libvirt/files/virtnodedevd/log/run | 1 - srcpkgs/libvirt/files/virtnwfilterd/log/run | 1 - srcpkgs/libvirt/files/virtproxyd/log/run | 1 - srcpkgs/libvirt/files/virtqemud/log/run | 1 - srcpkgs/libvirt/files/virtsecretd/log/run | 1 - srcpkgs/libvirt/files/virtstoraged/log/run | 1 - srcpkgs/libvirt/files/virtvboxd/log/run | 1 - srcpkgs/libvirt/files/virtxend/log/run | 1 - srcpkgs/lldpd/files/lldpd/log/run | 1 - srcpkgs/lsyncd/files/lsyncd/log/run | 2 -- srcpkgs/lxd/files/lxd/log/run | 2 -- srcpkgs/mariadb/files/mysqld/log/run | 2 -- srcpkgs/minidlna/files/minidlnad/log/run | 1 - srcpkgs/miniflux/files/miniflux/log/run | 1 - srcpkgs/minio/files/minio/log/run | 2 -- srcpkgs/moby/files/docker/log/run | 1 - srcpkgs/monero/files/monerod/log/run | 3 --- srcpkgs/mumble/files/mumble-server/log/run | 3 --- srcpkgs/ndhc/files/ndhc/log/run | 2 -- srcpkgs/ndppd/files/ndppd/log/run | 3 --- srcpkgs/neard/files/neard/log/run | 1 - srcpkgs/neard/files/seeld/log/run | 1 - srcpkgs/nebula/files/nebula/log/run | 2 -- srcpkgs/net-snmp/files/snmpd/log/run | 1 - srcpkgs/node_exporter/files/node_exporter/log/run | 2 -- srcpkgs/openntpd/files/openntpd/log/run | 2 -- srcpkgs/openrgb/files/openrgb/log/run | 2 -- srcpkgs/oragono/files/oragono/log/run | 2 -- srcpkgs/podman/files/podman/log/run | 1 - srcpkgs/postgresql14/files/postgresql14/log/run | 2 -- srcpkgs/postgresql15/files/postgresql15/log/run | 2 -- srcpkgs/preload/files/preload/log/run | 2 -- srcpkgs/privoxy/files/privoxy/log/run | 2 -- srcpkgs/prometheus/files/prometheus/log/run | 2 -- srcpkgs/qrtr-ns/files/qrtr-ns/log/run | 1 - srcpkgs/radicale/files/radicale/log/run | 2 -- srcpkgs/routinator/files/routinator/log/run | 1 - srcpkgs/samba/files/ctdbd/log/run | 2 -- srcpkgs/samba/files/nmbd/log/run | 2 -- srcpkgs/samba/files/smbd/log/run | 2 -- srcpkgs/sklogw/files/sklogw/log/run | 5 ----- srcpkgs/snapcast/files/snapclient/log/run | 2 -- srcpkgs/snapcast/files/snapserver/log/run | 2 -- srcpkgs/sndio/files/sndiod/log/run | 2 -- srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/log/run | 3 --- srcpkgs/soju/files/soju/log/run | 2 -- srcpkgs/spreed-webrtc/files/spreed-webrtc-server/log/run | 2 -- srcpkgs/sqmail/files/qmail-send/log/run | 2 -- srcpkgs/sqmail/files/qmail-smtpd/log/run | 2 -- srcpkgs/sqmail/files/qmail-smtpsd/log/run | 2 -- srcpkgs/sqmail/files/qmail-smtpsub/log/run | 2 -- srcpkgs/stubby/files/stubby/log/run | 2 -- srcpkgs/syncthing/files/discosrv/log/run | 3 --- srcpkgs/syncthing/files/relaysrv/log/run | 3 --- srcpkgs/tailscale/files/tailscaled/log/run | 4 ---- srcpkgs/thermald/files/thermald/log/run | 1 - srcpkgs/tqftpserv/files/tqftpserv/log/run | 1 - srcpkgs/trousers/files/tcsd/log/run | 2 -- srcpkgs/umurmur/files/umurmurd/log/run | 3 --- srcpkgs/up_rewrite/files/up_rewrite/log/run | 1 - srcpkgs/upmpdcli/files/upmpdcli/log/run | 2 -- srcpkgs/varnish/files/varnishd/log/run | 2 -- srcpkgs/vaultwarden/files/vaultwarden/log/run | 1 - srcpkgs/vnstat/files/vnstatd/log/run | 1 - srcpkgs/waydroid/files/waydroid-container/log/run | 1 - srcpkgs/webhook/files/webhook/log/run | 2 -- srcpkgs/wireplumber/files/wireplumber/log/run | 3 --- srcpkgs/x2goserver/files/x2gocleansessions/log/run | 2 -- srcpkgs/yggdrasil/files/yggdrasil/log/run | 1 - srcpkgs/znc/files/znc/log/run | 1 - 124 files changed, 228 deletions(-) delete mode 100644 srcpkgs/Clightd/files/Clightd/log/run delete mode 100644 srcpkgs/Gokapi/files/gokapi/log/run delete mode 100644 srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run delete mode 100644 srcpkgs/NetAuth/files/netauthd/log/run delete mode 100644 srcpkgs/PopCorn/files/popcorn/log/run delete mode 100644 srcpkgs/TerraState/files/terrastate/log/run delete mode 120000 srcpkgs/activityrelay/files/activityrelay/log/run delete mode 100644 srcpkgs/apache-kafka/files/apache-kafka-zookeeper/log/run delete mode 100644 srcpkgs/apache-kafka/files/apache-kafka/log/run delete mode 100644 srcpkgs/autofs/files/autofs/log/run delete mode 100755 srcpkgs/beanstalkd/files/beanstalkd/log/run delete mode 100644 srcpkgs/bind/files/named/log/run delete mode 120000 srcpkgs/bluez/files/bluetooth-meshd/log/run delete mode 120000 srcpkgs/bluez/files/bluetoothd/log/run delete mode 120000 srcpkgs/boinc/files/boinc/log/run delete mode 100755 srcpkgs/busybox/files/busybox-ntpd/log/run delete mode 120000 srcpkgs/caddy/files/caddy/log/run delete mode 100644 srcpkgs/ckb-next/files/ckb-next-daemon/log/run delete mode 120000 srcpkgs/conduit/files/conduit/log/run delete mode 100755 srcpkgs/coredns/files/coredns/log/run delete mode 120000 srcpkgs/coturn/files/coturnserver/log/run delete mode 100755 srcpkgs/cronie/files/cronie/log/run delete mode 100755 srcpkgs/dcron/files/dcron/log/run delete mode 120000 srcpkgs/dendrite/files/dendrite-monolith-server/log/run delete mode 120000 srcpkgs/dhcp/files/dhclient/log/run delete mode 120000 srcpkgs/dhcp/files/dhcpd4/log/run delete mode 120000 srcpkgs/dhcp/files/dhcpd6/log/run delete mode 100644 srcpkgs/dkimproxy/files/dkimproxy_in/log/run delete mode 100644 srcpkgs/dkimproxy/files/dkimproxy_out/log/run delete mode 100755 srcpkgs/dnscrypt-proxy/files/dnscrypt-proxy/log/run delete mode 100755 srcpkgs/dotool/files/dotoold/log/run delete mode 100644 srcpkgs/dq/files/dqcache/log/run delete mode 100755 srcpkgs/duiadns/files/duiadns/log/run delete mode 100755 srcpkgs/earlyoom/files/earlyoom/log/run delete mode 100755 srcpkgs/espeakup/files/espeakup/log/run delete mode 120000 srcpkgs/gerbera/files/gerbera/log/run delete mode 120000 srcpkgs/gitea/files/gitea/log/run delete mode 120000 srcpkgs/go-ipfs/files/ipfs/log/run delete mode 100755 srcpkgs/goatcounter/files/goatcounter/log/run delete mode 120000 srcpkgs/gotify-server/files/gotify-server/log/run delete mode 100755 srcpkgs/grafana/files/grafana/log/run delete mode 100755 srcpkgs/grub-btrfs/files/grub-btrfs/log/run delete mode 120000 srcpkgs/i2pd/files/i2pd/log/run delete mode 100644 srcpkgs/incron/files/incron/log/run delete mode 100755 srcpkgs/influxdb/files/influxdb/log/run delete mode 100755 srcpkgs/iwd/files/ead/log/run delete mode 100755 srcpkgs/iwd/files/iwd/log/run delete mode 100644 srcpkgs/libvirt/files/libvirt-generic/log/run delete mode 120000 srcpkgs/libvirt/files/libvirtd/log/run delete mode 120000 srcpkgs/libvirt/files/virtinterfaced/log/run delete mode 120000 srcpkgs/libvirt/files/virtlockd/log/run delete mode 120000 srcpkgs/libvirt/files/virtlogd/log/run delete mode 120000 srcpkgs/libvirt/files/virtlxcd/log/run delete mode 120000 srcpkgs/libvirt/files/virtnetworkd/log/run delete mode 120000 srcpkgs/libvirt/files/virtnodedevd/log/run delete mode 120000 srcpkgs/libvirt/files/virtnwfilterd/log/run delete mode 120000 srcpkgs/libvirt/files/virtproxyd/log/run delete mode 120000 srcpkgs/libvirt/files/virtqemud/log/run delete mode 120000 srcpkgs/libvirt/files/virtsecretd/log/run delete mode 120000 srcpkgs/libvirt/files/virtstoraged/log/run delete mode 120000 srcpkgs/libvirt/files/virtvboxd/log/run delete mode 120000 srcpkgs/libvirt/files/virtxend/log/run delete mode 120000 srcpkgs/lldpd/files/lldpd/log/run delete mode 100755 srcpkgs/lsyncd/files/lsyncd/log/run delete mode 100644 srcpkgs/lxd/files/lxd/log/run delete mode 100755 srcpkgs/mariadb/files/mysqld/log/run delete mode 120000 srcpkgs/minidlna/files/minidlnad/log/run delete mode 120000 srcpkgs/miniflux/files/miniflux/log/run delete mode 100644 srcpkgs/minio/files/minio/log/run delete mode 120000 srcpkgs/moby/files/docker/log/run delete mode 100644 srcpkgs/monero/files/monerod/log/run delete mode 100644 srcpkgs/mumble/files/mumble-server/log/run delete mode 100755 srcpkgs/ndhc/files/ndhc/log/run delete mode 100755 srcpkgs/ndppd/files/ndppd/log/run delete mode 120000 srcpkgs/neard/files/neard/log/run delete mode 120000 srcpkgs/neard/files/seeld/log/run delete mode 100755 srcpkgs/nebula/files/nebula/log/run delete mode 120000 srcpkgs/net-snmp/files/snmpd/log/run delete mode 100755 srcpkgs/node_exporter/files/node_exporter/log/run delete mode 100644 srcpkgs/openntpd/files/openntpd/log/run delete mode 100644 srcpkgs/openrgb/files/openrgb/log/run delete mode 100644 srcpkgs/oragono/files/oragono/log/run delete mode 120000 srcpkgs/podman/files/podman/log/run delete mode 100755 srcpkgs/postgresql14/files/postgresql14/log/run delete mode 100755 srcpkgs/postgresql15/files/postgresql15/log/run delete mode 100644 srcpkgs/preload/files/preload/log/run delete mode 100755 srcpkgs/privoxy/files/privoxy/log/run delete mode 100755 srcpkgs/prometheus/files/prometheus/log/run delete mode 120000 srcpkgs/qrtr-ns/files/qrtr-ns/log/run delete mode 100755 srcpkgs/radicale/files/radicale/log/run delete mode 120000 srcpkgs/routinator/files/routinator/log/run delete mode 100644 srcpkgs/samba/files/ctdbd/log/run delete mode 100755 srcpkgs/samba/files/nmbd/log/run delete mode 100755 srcpkgs/samba/files/smbd/log/run delete mode 100755 srcpkgs/sklogw/files/sklogw/log/run delete mode 100644 srcpkgs/snapcast/files/snapclient/log/run delete mode 100644 srcpkgs/snapcast/files/snapserver/log/run delete mode 100755 srcpkgs/sndio/files/sndiod/log/run delete mode 100644 srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/log/run delete mode 100755 srcpkgs/soju/files/soju/log/run delete mode 100755 srcpkgs/spreed-webrtc/files/spreed-webrtc-server/log/run delete mode 100755 srcpkgs/sqmail/files/qmail-send/log/run delete mode 100755 srcpkgs/sqmail/files/qmail-smtpd/log/run delete mode 100755 srcpkgs/sqmail/files/qmail-smtpsd/log/run delete mode 100755 srcpkgs/sqmail/files/qmail-smtpsub/log/run delete mode 100644 srcpkgs/stubby/files/stubby/log/run delete mode 100755 srcpkgs/syncthing/files/discosrv/log/run delete mode 100755 srcpkgs/syncthing/files/relaysrv/log/run delete mode 100755 srcpkgs/tailscale/files/tailscaled/log/run delete mode 120000 srcpkgs/thermald/files/thermald/log/run delete mode 120000 srcpkgs/tqftpserv/files/tqftpserv/log/run delete mode 100644 srcpkgs/trousers/files/tcsd/log/run delete mode 100644 srcpkgs/umurmur/files/umurmurd/log/run delete mode 120000 srcpkgs/up_rewrite/files/up_rewrite/log/run delete mode 100644 srcpkgs/upmpdcli/files/upmpdcli/log/run delete mode 100755 srcpkgs/varnish/files/varnishd/log/run delete mode 120000 srcpkgs/vaultwarden/files/vaultwarden/log/run delete mode 120000 srcpkgs/vnstat/files/vnstatd/log/run delete mode 120000 srcpkgs/waydroid/files/waydroid-container/log/run delete mode 100644 srcpkgs/webhook/files/webhook/log/run delete mode 100644 srcpkgs/wireplumber/files/wireplumber/log/run delete mode 100644 srcpkgs/x2goserver/files/x2gocleansessions/log/run delete mode 120000 srcpkgs/yggdrasil/files/yggdrasil/log/run delete mode 120000 srcpkgs/znc/files/znc/log/run diff --git a/srcpkgs/Clightd/files/Clightd/log/run b/srcpkgs/Clightd/files/Clightd/log/run deleted file mode 100644 index bfcfbef2823b..000000000000 --- a/srcpkgs/Clightd/files/Clightd/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec /usr/bin/vlogger -t Clightd diff --git a/srcpkgs/Gokapi/files/gokapi/log/run b/srcpkgs/Gokapi/files/gokapi/log/run deleted file mode 100644 index cb759c1f80d7..000000000000 --- a/srcpkgs/Gokapi/files/gokapi/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -t gokapi -p daemon.info diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run deleted file mode 100644 index 29dc909b4d8d..000000000000 --- a/srcpkgs/NetAuth-ldap/files/netauth-ldap/log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -exec 2>&1 -exec vlogger -t netauth-ldap diff --git a/srcpkgs/NetAuth/files/netauthd/log/run b/srcpkgs/NetAuth/files/netauthd/log/run deleted file mode 100644 index c128c8e303a2..000000000000 --- a/srcpkgs/NetAuth/files/netauthd/log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -exec 2>&1 -exec vlogger -t netauthd diff --git a/srcpkgs/PopCorn/files/popcorn/log/run b/srcpkgs/PopCorn/files/popcorn/log/run deleted file mode 100644 index 35f950bef681..000000000000 --- a/srcpkgs/PopCorn/files/popcorn/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t popcorn diff --git a/srcpkgs/TerraState/files/terrastate/log/run b/srcpkgs/TerraState/files/terrastate/log/run deleted file mode 100644 index 8ea6f0f74369..000000000000 --- a/srcpkgs/TerraState/files/terrastate/log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -exec 2>&1 -exec vlogger -t terrastate diff --git a/srcpkgs/activityrelay/files/activityrelay/log/run b/srcpkgs/activityrelay/files/activityrelay/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/activityrelay/files/activityrelay/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/log/run b/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/log/run deleted file mode 100644 index 043340b61258..000000000000 --- a/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t apache-kafka-zookeeper -p 'daemon.info' diff --git a/srcpkgs/apache-kafka/files/apache-kafka/log/run b/srcpkgs/apache-kafka/files/apache-kafka/log/run deleted file mode 100644 index 94f6f1f9164e..000000000000 --- a/srcpkgs/apache-kafka/files/apache-kafka/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t apache-kafka -p 'daemon.info' diff --git a/srcpkgs/autofs/files/autofs/log/run b/srcpkgs/autofs/files/autofs/log/run deleted file mode 100644 index a2abfe61e846..000000000000 --- a/srcpkgs/autofs/files/autofs/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t autofs diff --git a/srcpkgs/beanstalkd/files/beanstalkd/log/run b/srcpkgs/beanstalkd/files/beanstalkd/log/run deleted file mode 100755 index 4eb11581262c..000000000000 --- a/srcpkgs/beanstalkd/files/beanstalkd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t beanstalkd -p daemon.info diff --git a/srcpkgs/bind/files/named/log/run b/srcpkgs/bind/files/named/log/run deleted file mode 100644 index 142fbd4af3f9..000000000000 --- a/srcpkgs/bind/files/named/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t named diff --git a/srcpkgs/bluez/files/bluetooth-meshd/log/run b/srcpkgs/bluez/files/bluetooth-meshd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/bluez/files/bluetooth-meshd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/bluez/files/bluetoothd/log/run b/srcpkgs/bluez/files/bluetoothd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/bluez/files/bluetoothd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/boinc/files/boinc/log/run b/srcpkgs/boinc/files/boinc/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/boinc/files/boinc/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/busybox/files/busybox-ntpd/log/run b/srcpkgs/busybox/files/busybox-ntpd/log/run deleted file mode 100755 index 077ea46d31d4..000000000000 --- a/srcpkgs/busybox/files/busybox-ntpd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t busybox-ntpd diff --git a/srcpkgs/caddy/files/caddy/log/run b/srcpkgs/caddy/files/caddy/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/caddy/files/caddy/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/ckb-next/files/ckb-next-daemon/log/run b/srcpkgs/ckb-next/files/ckb-next-daemon/log/run deleted file mode 100644 index 778760156ff0..000000000000 --- a/srcpkgs/ckb-next/files/ckb-next-daemon/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t ckb-next-daemon -p daemon.notice diff --git a/srcpkgs/conduit/files/conduit/log/run b/srcpkgs/conduit/files/conduit/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/conduit/files/conduit/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/coredns/files/coredns/log/run b/srcpkgs/coredns/files/coredns/log/run deleted file mode 100755 index f0680f7cfe3d..000000000000 --- a/srcpkgs/coredns/files/coredns/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -exec 2>&1 -exec vlogger -t coredns diff --git a/srcpkgs/coturn/files/coturnserver/log/run b/srcpkgs/coturn/files/coturnserver/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/coturn/files/coturnserver/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/cronie/files/cronie/log/run b/srcpkgs/cronie/files/cronie/log/run deleted file mode 100755 index 6ff79ce509cb..000000000000 --- a/srcpkgs/cronie/files/cronie/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p cron.notice diff --git a/srcpkgs/dcron/files/dcron/log/run b/srcpkgs/dcron/files/dcron/log/run deleted file mode 100755 index 481c04d62077..000000000000 --- a/srcpkgs/dcron/files/dcron/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p cron.notice diff --git a/srcpkgs/dendrite/files/dendrite-monolith-server/log/run b/srcpkgs/dendrite/files/dendrite-monolith-server/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/dendrite/files/dendrite-monolith-server/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/dhcp/files/dhclient/log/run b/srcpkgs/dhcp/files/dhclient/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/dhcp/files/dhclient/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/dhcp/files/dhcpd4/log/run b/srcpkgs/dhcp/files/dhcpd4/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/dhcp/files/dhcpd4/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/dhcp/files/dhcpd6/log/run b/srcpkgs/dhcp/files/dhcpd6/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/dhcp/files/dhcpd6/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/dkimproxy/files/dkimproxy_in/log/run b/srcpkgs/dkimproxy/files/dkimproxy_in/log/run deleted file mode 100644 index a4a63ef73234..000000000000 --- a/srcpkgs/dkimproxy/files/dkimproxy_in/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t dkimproxy_in -p mail.info diff --git a/srcpkgs/dkimproxy/files/dkimproxy_out/log/run b/srcpkgs/dkimproxy/files/dkimproxy_out/log/run deleted file mode 100644 index 45736fa75504..000000000000 --- a/srcpkgs/dkimproxy/files/dkimproxy_out/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t dkimproxy_out -p mail.info diff --git a/srcpkgs/dnscrypt-proxy/files/dnscrypt-proxy/log/run b/srcpkgs/dnscrypt-proxy/files/dnscrypt-proxy/log/run deleted file mode 100755 index d6ba4e8a0b48..000000000000 --- a/srcpkgs/dnscrypt-proxy/files/dnscrypt-proxy/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec chpst -u dnscrypt_proxy:dnscrypt_proxy svlogd -t /var/log/dnscrypt-proxy diff --git a/srcpkgs/dotool/files/dotoold/log/run b/srcpkgs/dotool/files/dotoold/log/run deleted file mode 100755 index 762ba9e6cc26..000000000000 --- a/srcpkgs/dotool/files/dotoold/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t dotoold diff --git a/srcpkgs/dq/files/dqcache/log/run b/srcpkgs/dq/files/dqcache/log/run deleted file mode 100644 index ffcdcdb3736c..000000000000 --- a/srcpkgs/dq/files/dqcache/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec chpst -u _dqcache svlogd -t /var/log/dqcache diff --git a/srcpkgs/duiadns/files/duiadns/log/run b/srcpkgs/duiadns/files/duiadns/log/run deleted file mode 100755 index 94a82bf82dac..000000000000 --- a/srcpkgs/duiadns/files/duiadns/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec vlogger -t duiadns diff --git a/srcpkgs/earlyoom/files/earlyoom/log/run b/srcpkgs/earlyoom/files/earlyoom/log/run deleted file mode 100755 index 33d072e97ca1..000000000000 --- a/srcpkgs/earlyoom/files/earlyoom/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t earlyoom diff --git a/srcpkgs/espeakup/files/espeakup/log/run b/srcpkgs/espeakup/files/espeakup/log/run deleted file mode 100755 index 6d6f481c3794..000000000000 --- a/srcpkgs/espeakup/files/espeakup/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.debug -t espeakup diff --git a/srcpkgs/gerbera/files/gerbera/log/run b/srcpkgs/gerbera/files/gerbera/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/gerbera/files/gerbera/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/gitea/files/gitea/log/run b/srcpkgs/gitea/files/gitea/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/gitea/files/gitea/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/go-ipfs/files/ipfs/log/run b/srcpkgs/go-ipfs/files/ipfs/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/go-ipfs/files/ipfs/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/goatcounter/files/goatcounter/log/run b/srcpkgs/goatcounter/files/goatcounter/log/run deleted file mode 100755 index 0713d90a612e..000000000000 --- a/srcpkgs/goatcounter/files/goatcounter/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice -t goatcounter diff --git a/srcpkgs/gotify-server/files/gotify-server/log/run b/srcpkgs/gotify-server/files/gotify-server/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/gotify-server/files/gotify-server/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/grafana/files/grafana/log/run b/srcpkgs/grafana/files/grafana/log/run deleted file mode 100755 index 422fc14b90d7..000000000000 --- a/srcpkgs/grafana/files/grafana/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t grafana diff --git a/srcpkgs/grub-btrfs/files/grub-btrfs/log/run b/srcpkgs/grub-btrfs/files/grub-btrfs/log/run deleted file mode 100755 index 267659045cda..000000000000 --- a/srcpkgs/grub-btrfs/files/grub-btrfs/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t grub-btrfs diff --git a/srcpkgs/i2pd/files/i2pd/log/run b/srcpkgs/i2pd/files/i2pd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/i2pd/files/i2pd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/incron/files/incron/log/run b/srcpkgs/incron/files/incron/log/run deleted file mode 100644 index 481c04d62077..000000000000 --- a/srcpkgs/incron/files/incron/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p cron.notice diff --git a/srcpkgs/influxdb/files/influxdb/log/run b/srcpkgs/influxdb/files/influxdb/log/run deleted file mode 100755 index 642fc2657098..000000000000 --- a/srcpkgs/influxdb/files/influxdb/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t influxdb diff --git a/srcpkgs/iwd/files/ead/log/run b/srcpkgs/iwd/files/ead/log/run deleted file mode 100755 index 22cce06edfd9..000000000000 --- a/srcpkgs/iwd/files/ead/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t ead diff --git a/srcpkgs/iwd/files/iwd/log/run b/srcpkgs/iwd/files/iwd/log/run deleted file mode 100755 index 1e182b5a754e..000000000000 --- a/srcpkgs/iwd/files/iwd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t iwd diff --git a/srcpkgs/libvirt/files/libvirt-generic/log/run b/srcpkgs/libvirt/files/libvirt-generic/log/run deleted file mode 100644 index fe803f0a723c..000000000000 --- a/srcpkgs/libvirt/files/libvirt-generic/log/run +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Take daemon name from parent of the log subservice -daemon="${PWD%/*}" -daemon="${daemon##*/}" - -exec logger -t "$daemon" -p daemon.info diff --git a/srcpkgs/libvirt/files/libvirtd/log/run b/srcpkgs/libvirt/files/libvirtd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/libvirtd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtinterfaced/log/run b/srcpkgs/libvirt/files/virtinterfaced/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtinterfaced/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtlockd/log/run b/srcpkgs/libvirt/files/virtlockd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtlockd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtlogd/log/run b/srcpkgs/libvirt/files/virtlogd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtlogd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtlxcd/log/run b/srcpkgs/libvirt/files/virtlxcd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtlxcd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtnetworkd/log/run b/srcpkgs/libvirt/files/virtnetworkd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtnetworkd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtnodedevd/log/run b/srcpkgs/libvirt/files/virtnodedevd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtnodedevd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtnwfilterd/log/run b/srcpkgs/libvirt/files/virtnwfilterd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtnwfilterd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtproxyd/log/run b/srcpkgs/libvirt/files/virtproxyd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtproxyd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtqemud/log/run b/srcpkgs/libvirt/files/virtqemud/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtqemud/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtsecretd/log/run b/srcpkgs/libvirt/files/virtsecretd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtsecretd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtstoraged/log/run b/srcpkgs/libvirt/files/virtstoraged/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtstoraged/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtvboxd/log/run b/srcpkgs/libvirt/files/virtvboxd/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtvboxd/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/libvirt/files/virtxend/log/run b/srcpkgs/libvirt/files/virtxend/log/run deleted file mode 120000 index 5c7df1c93a45..000000000000 --- a/srcpkgs/libvirt/files/virtxend/log/run +++ /dev/null @@ -1 +0,0 @@ -../../libvirt-generic/log/run \ No newline at end of file diff --git a/srcpkgs/lldpd/files/lldpd/log/run b/srcpkgs/lldpd/files/lldpd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/lldpd/files/lldpd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/lsyncd/files/lsyncd/log/run b/srcpkgs/lsyncd/files/lsyncd/log/run deleted file mode 100755 index 114c954f1d99..000000000000 --- a/srcpkgs/lsyncd/files/lsyncd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t lsyncd -p 'daemon.info' diff --git a/srcpkgs/lxd/files/lxd/log/run b/srcpkgs/lxd/files/lxd/log/run deleted file mode 100644 index 817e6073ea07..000000000000 --- a/srcpkgs/lxd/files/lxd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t lxd diff --git a/srcpkgs/mariadb/files/mysqld/log/run b/srcpkgs/mariadb/files/mysqld/log/run deleted file mode 100755 index b36c4dafa403..000000000000 --- a/srcpkgs/mariadb/files/mysqld/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice diff --git a/srcpkgs/minidlna/files/minidlnad/log/run b/srcpkgs/minidlna/files/minidlnad/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/minidlna/files/minidlnad/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/miniflux/files/miniflux/log/run b/srcpkgs/miniflux/files/miniflux/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/miniflux/files/miniflux/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/minio/files/minio/log/run b/srcpkgs/minio/files/minio/log/run deleted file mode 100644 index b36c4dafa403..000000000000 --- a/srcpkgs/minio/files/minio/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice diff --git a/srcpkgs/moby/files/docker/log/run b/srcpkgs/moby/files/docker/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/moby/files/docker/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/monero/files/monerod/log/run b/srcpkgs/monero/files/monerod/log/run deleted file mode 100644 index afcb02949c66..000000000000 --- a/srcpkgs/monero/files/monerod/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -p daemon.notice -t monerod diff --git a/srcpkgs/mumble/files/mumble-server/log/run b/srcpkgs/mumble/files/mumble-server/log/run deleted file mode 100644 index 6b01a89f5be9..000000000000 --- a/srcpkgs/mumble/files/mumble-server/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -p daemon.notice -t murmur diff --git a/srcpkgs/ndhc/files/ndhc/log/run b/srcpkgs/ndhc/files/ndhc/log/run deleted file mode 100755 index 3dd63242fc51..000000000000 --- a/srcpkgs/ndhc/files/ndhc/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t ndhc diff --git a/srcpkgs/ndppd/files/ndppd/log/run b/srcpkgs/ndppd/files/ndppd/log/run deleted file mode 100755 index 6351a7cbc249..000000000000 --- a/srcpkgs/ndppd/files/ndppd/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -t ndppd diff --git a/srcpkgs/neard/files/neard/log/run b/srcpkgs/neard/files/neard/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/neard/files/neard/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/neard/files/seeld/log/run b/srcpkgs/neard/files/seeld/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/neard/files/seeld/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/nebula/files/nebula/log/run b/srcpkgs/nebula/files/nebula/log/run deleted file mode 100755 index 6a816023830d..000000000000 --- a/srcpkgs/nebula/files/nebula/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger --tag nebula --priority daemon.info diff --git a/srcpkgs/net-snmp/files/snmpd/log/run b/srcpkgs/net-snmp/files/snmpd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/net-snmp/files/snmpd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/node_exporter/files/node_exporter/log/run b/srcpkgs/node_exporter/files/node_exporter/log/run deleted file mode 100755 index 719aeb1c263e..000000000000 --- a/srcpkgs/node_exporter/files/node_exporter/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t node_exporter diff --git a/srcpkgs/openntpd/files/openntpd/log/run b/srcpkgs/openntpd/files/openntpd/log/run deleted file mode 100644 index 1401554c5c37..000000000000 --- a/srcpkgs/openntpd/files/openntpd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t openntpd -p daemon.notice diff --git a/srcpkgs/openrgb/files/openrgb/log/run b/srcpkgs/openrgb/files/openrgb/log/run deleted file mode 100644 index 12023ee0eca3..000000000000 --- a/srcpkgs/openrgb/files/openrgb/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t openrgb -p daemon.info diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run deleted file mode 100644 index 0308e8a75127..000000000000 --- a/srcpkgs/oragono/files/oragono/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t oragono diff --git a/srcpkgs/podman/files/podman/log/run b/srcpkgs/podman/files/podman/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/podman/files/podman/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/postgresql14/files/postgresql14/log/run b/srcpkgs/postgresql14/files/postgresql14/log/run deleted file mode 100755 index 815d9c974079..000000000000 --- a/srcpkgs/postgresql14/files/postgresql14/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t postgres@VERSION@ diff --git a/srcpkgs/postgresql15/files/postgresql15/log/run b/srcpkgs/postgresql15/files/postgresql15/log/run deleted file mode 100755 index 815d9c974079..000000000000 --- a/srcpkgs/postgresql15/files/postgresql15/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t postgres@VERSION@ diff --git a/srcpkgs/preload/files/preload/log/run b/srcpkgs/preload/files/preload/log/run deleted file mode 100644 index 03f18ca93f33..000000000000 --- a/srcpkgs/preload/files/preload/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec svlogd -t /var/log/preload diff --git a/srcpkgs/privoxy/files/privoxy/log/run b/srcpkgs/privoxy/files/privoxy/log/run deleted file mode 100755 index fa590adf4e6a..000000000000 --- a/srcpkgs/privoxy/files/privoxy/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t privoxy diff --git a/srcpkgs/prometheus/files/prometheus/log/run b/srcpkgs/prometheus/files/prometheus/log/run deleted file mode 100755 index d93cf9f498ea..000000000000 --- a/srcpkgs/prometheus/files/prometheus/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t prometheus diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/log/run b/srcpkgs/qrtr-ns/files/qrtr-ns/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/qrtr-ns/files/qrtr-ns/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/radicale/files/radicale/log/run b/srcpkgs/radicale/files/radicale/log/run deleted file mode 100755 index 37284378a054..000000000000 --- a/srcpkgs/radicale/files/radicale/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec svlogd /var/log/radicale diff --git a/srcpkgs/routinator/files/routinator/log/run b/srcpkgs/routinator/files/routinator/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/routinator/files/routinator/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/samba/files/ctdbd/log/run b/srcpkgs/samba/files/ctdbd/log/run deleted file mode 100644 index 7b12895c7406..000000000000 --- a/srcpkgs/samba/files/ctdbd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice -t ctdbd diff --git a/srcpkgs/samba/files/nmbd/log/run b/srcpkgs/samba/files/nmbd/log/run deleted file mode 100755 index fb52de5c92a1..000000000000 --- a/srcpkgs/samba/files/nmbd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice -t nmbd diff --git a/srcpkgs/samba/files/smbd/log/run b/srcpkgs/samba/files/smbd/log/run deleted file mode 100755 index 3131489de9f3..000000000000 --- a/srcpkgs/samba/files/smbd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.notice -t smbd diff --git a/srcpkgs/sklogw/files/sklogw/log/run b/srcpkgs/sklogw/files/sklogw/log/run deleted file mode 100755 index 8d9259845801..000000000000 --- a/srcpkgs/sklogw/files/sklogw/log/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/sh - -#log script -[ -d /var/log/sklogw ] || mkdir -p /var/log/sklogw -exec svlogd -ttt /var/log/sklogw diff --git a/srcpkgs/snapcast/files/snapclient/log/run b/srcpkgs/snapcast/files/snapclient/log/run deleted file mode 100644 index 67d63360736a..000000000000 --- a/srcpkgs/snapcast/files/snapclient/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t snapclient diff --git a/srcpkgs/snapcast/files/snapserver/log/run b/srcpkgs/snapcast/files/snapserver/log/run deleted file mode 100644 index 13577cf7f054..000000000000 --- a/srcpkgs/snapcast/files/snapserver/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t snapserver diff --git a/srcpkgs/sndio/files/sndiod/log/run b/srcpkgs/sndio/files/sndiod/log/run deleted file mode 100755 index 4472c76afb44..000000000000 --- a/srcpkgs/sndio/files/sndiod/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t sndiod diff --git a/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/log/run b/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/log/run deleted file mode 100644 index acfadabea4d8..000000000000 --- a/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec vlogger -p daemon -t socklog-ucspi-tcp diff --git a/srcpkgs/soju/files/soju/log/run b/srcpkgs/soju/files/soju/log/run deleted file mode 100755 index e3e1d1b70f91..000000000000 --- a/srcpkgs/soju/files/soju/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t soju -p daemon diff --git a/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/log/run b/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/log/run deleted file mode 100755 index c50c10aa0da9..000000000000 --- a/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t spreed-webrtc-server -p daemon.notice diff --git a/srcpkgs/sqmail/files/qmail-send/log/run b/srcpkgs/sqmail/files/qmail-send/log/run deleted file mode 100755 index dfe9ca0c0e91..000000000000 --- a/srcpkgs/sqmail/files/qmail-send/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p mail.notice -t qmail-send diff --git a/srcpkgs/sqmail/files/qmail-smtpd/log/run b/srcpkgs/sqmail/files/qmail-smtpd/log/run deleted file mode 100755 index e8b65cb0b353..000000000000 --- a/srcpkgs/sqmail/files/qmail-smtpd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p mail.notice -t qmail-smtpd diff --git a/srcpkgs/sqmail/files/qmail-smtpsd/log/run b/srcpkgs/sqmail/files/qmail-smtpsd/log/run deleted file mode 100755 index 933100cc3f74..000000000000 --- a/srcpkgs/sqmail/files/qmail-smtpsd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p mail.notice -t qmail-smtpsd diff --git a/srcpkgs/sqmail/files/qmail-smtpsub/log/run b/srcpkgs/sqmail/files/qmail-smtpsub/log/run deleted file mode 100755 index c7918d4ee26a..000000000000 --- a/srcpkgs/sqmail/files/qmail-smtpsub/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p mail.notice -t qmail-smtpsub diff --git a/srcpkgs/stubby/files/stubby/log/run b/srcpkgs/stubby/files/stubby/log/run deleted file mode 100644 index 133f33a73b58..000000000000 --- a/srcpkgs/stubby/files/stubby/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t stubby -p daemon.notice diff --git a/srcpkgs/syncthing/files/discosrv/log/run b/srcpkgs/syncthing/files/discosrv/log/run deleted file mode 100755 index a667e5fd80c7..000000000000 --- a/srcpkgs/syncthing/files/discosrv/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec svlogd /var/log/discosrv diff --git a/srcpkgs/syncthing/files/relaysrv/log/run b/srcpkgs/syncthing/files/relaysrv/log/run deleted file mode 100755 index b1d5a28a7bf5..000000000000 --- a/srcpkgs/syncthing/files/relaysrv/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec svlogd /var/log/relaysrv diff --git a/srcpkgs/tailscale/files/tailscaled/log/run b/srcpkgs/tailscale/files/tailscaled/log/run deleted file mode 100755 index 28894bc17c6a..000000000000 --- a/srcpkgs/tailscale/files/tailscaled/log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -exec 2>&1 -exec logger -t tailscaled -p daemon.info diff --git a/srcpkgs/thermald/files/thermald/log/run b/srcpkgs/thermald/files/thermald/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/thermald/files/thermald/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/tqftpserv/files/tqftpserv/log/run b/srcpkgs/tqftpserv/files/tqftpserv/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/tqftpserv/files/tqftpserv/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/trousers/files/tcsd/log/run b/srcpkgs/trousers/files/tcsd/log/run deleted file mode 100644 index f74f42b898ec..000000000000 --- a/srcpkgs/trousers/files/tcsd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t tcsd diff --git a/srcpkgs/umurmur/files/umurmurd/log/run b/srcpkgs/umurmur/files/umurmurd/log/run deleted file mode 100644 index 4935a89f175e..000000000000 --- a/srcpkgs/umurmur/files/umurmurd/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -p daemon.notice -t umurmurd diff --git a/srcpkgs/up_rewrite/files/up_rewrite/log/run b/srcpkgs/up_rewrite/files/up_rewrite/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/up_rewrite/files/up_rewrite/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/upmpdcli/files/upmpdcli/log/run b/srcpkgs/upmpdcli/files/upmpdcli/log/run deleted file mode 100644 index 9d3d8b8d9878..000000000000 --- a/srcpkgs/upmpdcli/files/upmpdcli/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -t upmpdcli diff --git a/srcpkgs/varnish/files/varnishd/log/run b/srcpkgs/varnish/files/varnishd/log/run deleted file mode 100755 index 280d955ac11c..000000000000 --- a/srcpkgs/varnish/files/varnishd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -t varnishd -p daemon.info diff --git a/srcpkgs/vaultwarden/files/vaultwarden/log/run b/srcpkgs/vaultwarden/files/vaultwarden/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/vaultwarden/files/vaultwarden/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/vnstat/files/vnstatd/log/run b/srcpkgs/vnstat/files/vnstatd/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/vnstat/files/vnstatd/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/waydroid/files/waydroid-container/log/run b/srcpkgs/waydroid/files/waydroid-container/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/waydroid/files/waydroid-container/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/webhook/files/webhook/log/run b/srcpkgs/webhook/files/webhook/log/run deleted file mode 100644 index 700bf023a873..000000000000 --- a/srcpkgs/webhook/files/webhook/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec vlogger -p daemon.info -t webhook diff --git a/srcpkgs/wireplumber/files/wireplumber/log/run b/srcpkgs/wireplumber/files/wireplumber/log/run deleted file mode 100644 index 4dd58318870e..000000000000 --- a/srcpkgs/wireplumber/files/wireplumber/log/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec logger -t wireplumber -p daemon.info diff --git a/srcpkgs/x2goserver/files/x2gocleansessions/log/run b/srcpkgs/x2goserver/files/x2gocleansessions/log/run deleted file mode 100644 index d5901d1fc65f..000000000000 --- a/srcpkgs/x2goserver/files/x2gocleansessions/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec logger -p daemon.info -t x2gocleansessions diff --git a/srcpkgs/yggdrasil/files/yggdrasil/log/run b/srcpkgs/yggdrasil/files/yggdrasil/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/yggdrasil/files/yggdrasil/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/znc/files/znc/log/run b/srcpkgs/znc/files/znc/log/run deleted file mode 120000 index 3a5b4a586051..000000000000 --- a/srcpkgs/znc/files/znc/log/run +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/vlogger \ No newline at end of file From bf7bbed0032e0ff5f06885b5c16a0bb364e5c07c Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 7 Feb 2023 02:04:26 -0500 Subject: [PATCH 04/10] cronie, dcron, dkimproxy, sqmail: override default log facility previous log service used cron/mail facility --- srcpkgs/cronie/template | 2 +- srcpkgs/dcron/template | 2 +- srcpkgs/dkimproxy/template | 4 ++-- srcpkgs/sqmail/template | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 2c26c2dc6352..3f8fbbcc4f30 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -44,7 +44,7 @@ pre_configure() { } post_install() { - vsv cronie + vsv cronie cron vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond # Add /etc/cron.deny empty, to allow all users. diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index eb975fd13a30..ab92850344ee 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -47,7 +47,7 @@ do_install() { # crontab must be setuid for all users to work! chmod 4755 ${DESTDIR}/usr/bin/crontab - vsv dcron + vsv dcron cron # Fix conflicts with other packages mv ${DESTDIR}/usr/bin/crond ${DESTDIR}/usr/bin/dcrond diff --git a/srcpkgs/dkimproxy/template b/srcpkgs/dkimproxy/template index bab8cee6633f..4c411af516c1 100644 --- a/srcpkgs/dkimproxy/template +++ b/srcpkgs/dkimproxy/template @@ -20,6 +20,6 @@ post_install() { vsconf ${DESTDIR}/etc/dkimproxy_out.conf.example mv ${DESTDIR}/etc/dkimproxy_in.conf.example ${DESTDIR}/etc/dkimproxy_in.conf mv ${DESTDIR}/etc/dkimproxy_out.conf.example ${DESTDIR}/etc/dkimproxy_out.conf - vsv dkimproxy_in - vsv dkimproxy_out + vsv dkimproxy_in mail + vsv dkimproxy_out mail } diff --git a/srcpkgs/sqmail/template b/srcpkgs/sqmail/template index 78c0af18eadb..3ba60479850c 100644 --- a/srcpkgs/sqmail/template +++ b/srcpkgs/sqmail/template @@ -117,10 +117,10 @@ do_install() { done rm ${DESTDIR}/usr/bin/hostname rm ${DESTDIR}/usr/share/man/man8/hostname.8 - vsv qmail-send - vsv qmail-smtpd - vsv qmail-smtpsd - vsv qmail-smtpsub + vsv qmail-send mail + vsv qmail-smtpd mail + vsv qmail-smtpsd mail + vsv qmail-smtpsub mail vlicense ../doc/LICENSE mv ${DESTDIR}/usr/bin/maildirmake ${DESTDIR}/usr/bin/maildirmake.sqmail mv ${DESTDIR}/usr/share/man/man1/maildirmake.1 ${DESTDIR}/usr/share/man/man1/maildirmake.sqmail.1 From 7d141004a725485fb9ad80903d0e7081492a61a2 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 7 Feb 2023 02:25:27 -0500 Subject: [PATCH 05/10] *: add exec 2>&1 to all existing services except when it already exists, of course --- srcpkgs/3proxy/files/3proxy/run | 1 + srcpkgs/Clightd/files/Clightd/run | 1 + srcpkgs/EternalTerminal/files/etserver/run | 1 + srcpkgs/FreeRADIUS/files/FreeRADIUS/run | 1 + srcpkgs/GCP-Guest-Environment/files/GCP-Guest-Initialization/run | 1 + srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run | 1 + srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run | 1 + srcpkgs/GCP-Guest-Environment/files/GCP-ip-forwarding/run | 1 + srcpkgs/Gokapi/files/gokapi/run | 1 + srcpkgs/NetAuth-ldap/files/netauth-ldap/run | 1 + srcpkgs/NetAuth/files/netauthd/run | 1 + srcpkgs/NetworkManager/files/NetworkManager/run | 1 + srcpkgs/PopCorn/files/pqueryd/run | 1 + srcpkgs/PopCorn/files/statrepo/run | 1 + srcpkgs/Swapspace/files/swapspace/run | 1 + srcpkgs/acpid/files/acpid/run | 1 + srcpkgs/alertmanager/files/alertmanager/run | 1 + srcpkgs/alfred/files/alfred/run | 1 + srcpkgs/alfred/files/batadv-vis/run | 1 + srcpkgs/alsa-utils/files/alsa/run | 1 + srcpkgs/android-tools/files/adb/run | 1 + srcpkgs/anope/files/anope/run | 1 + srcpkgs/apache-kafka/files/apache-kafka-zookeeper/run | 1 + srcpkgs/apache-kafka/files/apache-kafka/run | 1 + srcpkgs/apache-tomcat/files/apache-tomcat/run | 1 + srcpkgs/apache/files/apache/run | 1 + srcpkgs/apcupsd/files/apcupsd/run | 1 + srcpkgs/ardor/files/ardor-tor/run | 1 + srcpkgs/ardor/files/ardor/run | 1 + srcpkgs/armagetronad/files/armagetronad-dedicated/run | 1 + srcpkgs/asus-kbd-backlight/files/asus-kbd/run | 1 + srcpkgs/at/files/at/run | 1 + srcpkgs/atop/files/atop/run | 1 + srcpkgs/audit/files/auditctl/run | 1 + srcpkgs/audit/files/auditd/run | 1 + srcpkgs/avahi/files/avahi-daemon/run | 1 + srcpkgs/bacula-common/files/bacula-dir/run | 1 + srcpkgs/bacula-common/files/bacula-fd/run | 1 + srcpkgs/bacula-common/files/bacula-sd/run | 1 + srcpkgs/barrier/files/barrierc/run | 1 + srcpkgs/barrier/files/barriers/run | 1 + srcpkgs/beanstalkd/files/beanstalkd/run | 1 + srcpkgs/beard/files/beard/run | 1 + srcpkgs/bftpd/files/bftpd/run | 1 + srcpkgs/binfmt-support/files/binfmt-support/run | 1 + srcpkgs/bird/files/bird/run | 1 + srcpkgs/bird_exporter/files/bird_exporter/run | 1 + srcpkgs/bitlbee/files/bitlbee/run | 1 + srcpkgs/blackbox_exporter/files/blackbox_exporter/run | 1 + srcpkgs/bluez-alsa/files/bluez-alsa/run | 1 + srcpkgs/bolt/files/boltd/run | 1 + srcpkgs/brltty/files/brltty/run | 1 + srcpkgs/bumblebee/files/bumblebeed/run | 1 + srcpkgs/burp2-server/files/burp2-server/run | 1 + srcpkgs/busybox/files/busybox-klogd/run | 1 + srcpkgs/busybox/files/busybox-ntpd/run | 1 + srcpkgs/busybox/files/busybox-syslogd/run | 1 + srcpkgs/cachefilesd/files/cachefilesd/run | 1 + srcpkgs/caddy/files/caddy/run | 1 + srcpkgs/canto-next/files/canto-daemon/run | 1 + srcpkgs/chronograf/files/chronograf/run | 1 + srcpkgs/chrony/files/chronyd/run | 1 + srcpkgs/ckb-next/files/ckb-next-daemon/run | 1 + srcpkgs/cntlm/files/cntlm/run | 1 + srcpkgs/collectd/files/collectd/run | 1 + srcpkgs/colord/files/colord/run | 1 + srcpkgs/conduit/files/conduit/run | 1 + srcpkgs/connman/files/connmand/run | 1 + srcpkgs/containerd/files/containerd/run | 1 + srcpkgs/coturn/files/coturnserver/run | 1 + srcpkgs/criu/files/criu/run | 1 + srcpkgs/cronie/files/cronie/run | 1 + srcpkgs/cups-filters/files/cups-browsed/run | 1 + srcpkgs/cups/files/cupsd/run | 1 + srcpkgs/darkhttpd/files/darkhttpd/run | 1 + srcpkgs/dbus-elogind/files/dbus/run | 1 + srcpkgs/dbus/files/dbus/run | 1 + srcpkgs/dcron/files/dcron/run | 1 + srcpkgs/ddclient/files/ddclient/run | 1 + srcpkgs/deluge/files/deluge-web/run | 1 + srcpkgs/deluge/files/deluged/run | 1 + srcpkgs/dhcpcd/files/dhcpcd-eth0/run | 1 + srcpkgs/dhcpcd/files/dhcpcd/run | 1 + srcpkgs/dictd/files/dictd/run | 1 + srcpkgs/diod/files/diod/run | 1 + srcpkgs/distcc/files/distccd/run | 1 + srcpkgs/dkimproxy/files/dkimproxy_in/run | 1 + srcpkgs/dkimproxy/files/dkimproxy_out/run | 1 + srcpkgs/dnsdist/files/dnsdist/run | 1 + srcpkgs/dnsmasq/files/dnsmasq/run | 1 + srcpkgs/dovecot/files/dovecot/run | 1 + srcpkgs/dq/files/dqcache/run | 1 + srcpkgs/drbd-utils/files/drbd/run | 1 + srcpkgs/dropbear/files/dropbear/run | 1 + srcpkgs/duiadns/files/duiadns/run | 1 + srcpkgs/earlyoom/files/earlyoom/run | 1 + srcpkgs/edac-utils/files/edac/run | 1 + srcpkgs/elog/files/elogd/run | 1 + srcpkgs/elogind/files/elogind/run | 1 + srcpkgs/etcd/files/etcd/run | 1 + srcpkgs/eudev/files/udevd/run | 1 + srcpkgs/fah/files/FAHClient/run | 1 + srcpkgs/fail2ban/files/fail2ban/run | 1 + srcpkgs/fake-hwclock/files/fake-hwclock/run | 1 + srcpkgs/fastd/files/fastd/run | 1 + srcpkgs/fcron/files/fcron/run | 1 + srcpkgs/fiche/files/fiche/run | 1 + srcpkgs/firehol/files/firehol/run | 1 + srcpkgs/flannel/files/flannel/run | 1 + srcpkgs/freeipmi/files/bmc-watchdog/run | 1 + srcpkgs/freeipmi/files/ipmidetectd/run | 1 + srcpkgs/freeipmi/files/ipmiseld/run | 1 + srcpkgs/frp/files/frpc/run | 1 + srcpkgs/frp/files/frps/run | 1 + srcpkgs/frr/files/frr-generic/run | 1 + srcpkgs/fwknop/files/fwknopd/run | 1 + srcpkgs/gdm/files/gdm/run | 1 + srcpkgs/gemserv/files/gemserv/run | 1 + srcpkgs/geomyidae/files/geomyidae/run | 1 + srcpkgs/gerbera/files/gerbera/run | 1 + srcpkgs/gitea/files/gitea/run | 1 + srcpkgs/gitlab-runner/files/gitlab-runner/run | 1 + srcpkgs/glibc/files/nscd/run | 1 + srcpkgs/glider/files/glider/run | 1 + srcpkgs/glusterfs/files/glusterd/run | 1 + srcpkgs/glusterfs/files/glusterfsd/run | 1 + srcpkgs/gnunet/files/gnunet/run | 1 + srcpkgs/go-ipfs/files/ipfs/run | 1 + srcpkgs/goatcounter/files/goatcounter/run | 1 + srcpkgs/gogs/files/gogs/run | 1 + srcpkgs/gpm/files/gpm/run | 1 + srcpkgs/gpsd/files/gpsd/run | 1 + srcpkgs/grafana/files/grafana/run | 1 + srcpkgs/h2o/files/h2o/run | 1 + srcpkgs/haproxy/files/haproxy/run | 1 + srcpkgs/haveged/files/haveged/run | 1 + srcpkgs/hddtemp/files/hddtemp/run | 1 + srcpkgs/hiawatha/files/hiawatha/run | 1 + srcpkgs/hitch/files/hitch/run | 1 + srcpkgs/hostapd/files/hostapd/run | 1 + srcpkgs/i2pd/files/i2pd/run | 1 + srcpkgs/i8kutils/files/i8kmon/run | 1 + srcpkgs/icinga2/files/icinga2/run | 1 + srcpkgs/iio-sensor-proxy/files/iio-sensor-proxy/run | 1 + srcpkgs/inadyn/files/inadyn/run | 1 + srcpkgs/incron/files/incron/run | 1 + srcpkgs/influxdb/files/influxdb/run | 1 + srcpkgs/inspircd/files/inspircd/run | 1 + srcpkgs/iptables/files/ip6tables/run | 1 + srcpkgs/iptables/files/iptables/run | 1 + srcpkgs/ipvsadm/files/ipvsadm/run | 1 + srcpkgs/irqbalance/files/irqbalance/run | 1 + srcpkgs/iwd/files/ead/run | 1 + srcpkgs/iwd/files/iwd/run | 1 + srcpkgs/jenkins/files/jenkins/run | 1 + srcpkgs/kapacitor/files/kapacitor/run | 1 + srcpkgs/kea/files/kea-dhcp-ddns/run | 1 + srcpkgs/kea/files/kea-dhcp4/run | 1 + srcpkgs/kea/files/kea-dhcp6/run | 1 + srcpkgs/keepalived/files/keepalived/run | 1 + srcpkgs/keyd/files/keyd/run | 1 + srcpkgs/knot-resolver/files/kresd/run | 1 + srcpkgs/knot/files/knotd/run | 1 + srcpkgs/kubernetes/files/kube-apiserver/run | 1 + srcpkgs/kubernetes/files/kube-controller-manager/run | 1 + srcpkgs/kubernetes/files/kube-proxy/run | 1 + srcpkgs/kubernetes/files/kube-scheduler/run | 1 + srcpkgs/kubernetes/files/kubelet/run | 1 + srcpkgs/laptop-mode/files/laptop-mode/run | 1 + srcpkgs/ldm/files/ldm/run | 1 + srcpkgs/libcgroup/files/cgred/run | 1 + srcpkgs/libratbag/files/ratbagd/run | 1 + srcpkgs/libvirt/files/libvirt-generic/run | 1 + srcpkgs/lightdm/files/lightdm/run | 1 + srcpkgs/lighttpd/files/lighttpd/run | 1 + srcpkgs/linux-tools/files/freefall/run | 1 + srcpkgs/linux-tools/files/usbipd/run | 1 + srcpkgs/lldpd/files/lldpd/run | 1 + srcpkgs/lm_sensors/files/fancontrol/run | 1 + srcpkgs/lsyncd/files/lsyncd/run | 1 + srcpkgs/lvm2/files/dmeventd/run | 1 + srcpkgs/lvm2/files/lvmetad/run | 1 + srcpkgs/lxc/files/lxc-autostart/run | 1 + srcpkgs/lxcfs/files/lxcfs/run | 1 + srcpkgs/lxd-lts/files/lxd/run | 1 + srcpkgs/lxd/files/lxd/run | 1 + srcpkgs/lxdm/files/lxdm/run | 1 + srcpkgs/mDNSResponder/files/dnsextd/run | 1 + srcpkgs/mDNSResponder/files/mdnsd/run | 1 + srcpkgs/mariadb/files/mysqld/run | 1 + srcpkgs/mcelog/files/mcelog/run | 1 + srcpkgs/mdadm/files/mdadm/run | 1 + srcpkgs/metalog/files/metalog/run | 1 + srcpkgs/minidlna/files/minidlnad/run | 1 + srcpkgs/minio/files/minio/run | 1 + srcpkgs/mit-krb5/files/kadmind/run | 1 + srcpkgs/mit-krb5/files/krb5kdc/run | 1 + srcpkgs/moby/files/docker/run | 1 + srcpkgs/monero/files/monerod/run | 1 + srcpkgs/monit/files/monit/run | 1 + srcpkgs/monkey/files/monkey/run | 1 + srcpkgs/moosefs/files/mfschunkserver/run | 1 + srcpkgs/moosefs/files/mfsmaster/run | 1 + srcpkgs/moosefs/files/mfsmetalogger/run | 1 + srcpkgs/mopidy/files/mopidy/run | 1 + srcpkgs/mosquitto/files/mosquitto/run | 1 + srcpkgs/mouseemu/files/mouseemu/run | 1 + srcpkgs/mpDris2/files/mpDris2/run | 1 + srcpkgs/mpd/files/mpd/run | 1 + srcpkgs/mpdscribble/files/mpdscribble/run | 1 + srcpkgs/munge/files/munge/run | 1 + srcpkgs/musl-nscd/files/nscd/run | 1 + srcpkgs/nbd/files/nbd/run | 1 + srcpkgs/ndhc/files/ndhc/run | 1 + srcpkgs/ndppd/files/ndppd/run | 1 + srcpkgs/neard/files/neard/run | 1 + srcpkgs/neard/files/seeld/run | 1 + srcpkgs/net-snmp/files/snmpd/run | 1 + srcpkgs/netdata/files/netdata/run | 1 + srcpkgs/network-ups-tools/files/upsd/run | 1 + srcpkgs/network-ups-tools/files/upsdrvctl/run | 1 + srcpkgs/network-ups-tools/files/upsmon/run | 1 + srcpkgs/nfs-utils/files/nfs-server/run | 1 + srcpkgs/nfs-utils/files/rpcblkmapd/run | 1 + srcpkgs/nfs-utils/files/rpcgssd/run | 1 + srcpkgs/nfs-utils/files/rpcidmapd/run | 1 + srcpkgs/nfs-utils/files/rpcsvcgssd/run | 1 + srcpkgs/nfs-utils/files/statd/run | 1 + srcpkgs/nftables/files/nftables/run | 1 + srcpkgs/ngetty/files/ngetty/run | 1 + srcpkgs/nginx/files/nginx/run | 1 + srcpkgs/ngircd/files/ngircd/run | 1 + srcpkgs/nix/files/nix-daemon/run | 1 + srcpkgs/node_exporter/files/node_exporter/run | 1 + srcpkgs/nodm/files/nodm/run | 1 + srcpkgs/noip2/files/noip2/run | 1 + srcpkgs/nrpe/files/nrpe/run | 1 + srcpkgs/nsd/files/nsd/run | 1 + srcpkgs/nss-pam-ldapd/files/nslcd/run | 1 + srcpkgs/ntp/files/isc-ntpd/run | 1 + srcpkgs/nullmailer/files/nullmailer/run | 1 + srcpkgs/nvidia/files/nvidia-powerd/run | 1 + srcpkgs/nxt/files/nxt-tor/run | 1 + srcpkgs/nxt/files/nxt/run | 1 + srcpkgs/odroid-u2-base/files/odroid-led/run | 1 + srcpkgs/ofono/files/ofonod/run | 1 + srcpkgs/oidentd/files/oidentd/run | 1 + srcpkgs/olsrd/files/olsrd/run | 1 + srcpkgs/open-vm-tools/files/vmtoolsd/run | 1 + srcpkgs/open-vm-tools/files/vmware-vmblock-fuse/run | 1 + srcpkgs/opendkim/files/opendkim/run | 1 + srcpkgs/openntpd/files/openntpd/run | 1 + srcpkgs/openrgb/files/openrgb/run | 1 + srcpkgs/opensmtpd/files/opensmtpd/run | 1 + srcpkgs/openssh/files/sshd/run | 1 + srcpkgs/openvswitch/files/ovs-vswitchd/run | 1 + srcpkgs/openvswitch/files/ovsdb-server/run | 1 + srcpkgs/parpd/files/parpd/run | 1 + srcpkgs/parprouted/files/parprouted/run | 1 + srcpkgs/pbbuttonsd/files/pbbuttonsd/run | 1 + srcpkgs/pcsclite/files/pcscd/run | 1 + srcpkgs/pd-mapper/files/pd-mapper/run | 1 + srcpkgs/php/files/php-fpm/run | 1 + srcpkgs/php8.0/files/php-fpm8.0/run | 1 + srcpkgs/php8.1/files/php-fpm8.1/run | 1 + srcpkgs/pipewire/files/pipewire-pulse/run | 1 + srcpkgs/pipewire/files/pipewire/run | 1 + srcpkgs/podman/files/podman-docker/run | 1 + srcpkgs/podman/files/podman/run | 1 + srcpkgs/polipo/files/polipo/run | 1 + srcpkgs/polkit/files/polkitd/run | 1 + srcpkgs/postfix/files/postfix/run | 1 + srcpkgs/postgresql14/files/postgresql14/run | 1 + srcpkgs/postgresql15/files/postgresql15/run | 1 + srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run | 1 + srcpkgs/privoxy/files/privoxy/run | 1 + srcpkgs/prometheus/files/prometheus/run | 1 + srcpkgs/prosody/files/prosody/run | 1 + srcpkgs/pulseaudio/files/pulseaudio/run | 1 + srcpkgs/qemu/files/qemu-ga/run | 1 + srcpkgs/qrtr-ns/files/qrtr-ns/run | 1 + srcpkgs/quassel/files/quasselcore/run | 1 + srcpkgs/radeon-profile-daemon/files/radeon-profile-daemon/run | 1 + srcpkgs/radvd/files/radvd/run | 1 + srcpkgs/redis/files/redis/run | 1 + srcpkgs/rest-server/files/rest-server/run | 1 + srcpkgs/rmilter/files/rmilter/run | 1 + srcpkgs/rmtfs/files/rmtfs/run | 1 + srcpkgs/rng-tools/files/rngd/run | 1 + srcpkgs/routinator/files/routinator/run | 1 + srcpkgs/rpcbind/files/rpcbind/run | 1 + srcpkgs/rspamd/files/rspamd/run | 1 + srcpkgs/rsync/files/rsyncd/run | 1 + srcpkgs/rsyslog/files/rsyslogd/run | 1 + srcpkgs/rtkit/files/rtkit/run | 1 + srcpkgs/salt/files/salt-api/run | 1 + srcpkgs/salt/files/salt-master/run | 1 + srcpkgs/salt/files/salt-minion/run | 1 + srcpkgs/salt/files/salt-syndic/run | 1 + srcpkgs/samba/files/ctdbd/run | 1 + srcpkgs/sane/files/saned/run | 1 + srcpkgs/scron/files/scron/run | 1 + srcpkgs/sddm/files/sddm/run | 1 + srcpkgs/seatd/files/seatd/run | 1 + srcpkgs/sftpgo/files/sftpgo/run | 1 + srcpkgs/shadowsocks-libev/files/shadowsocks-libev-client/run | 1 + srcpkgs/shadowsocks-libev/files/shadowsocks-libev-server/run | 1 + srcpkgs/shinit/files/shinit/run | 1 + srcpkgs/shiori/files/shiori/run | 1 + srcpkgs/shorewall/files/shorewall/run | 1 + srcpkgs/shorewall/files/shorewall6/run | 1 + srcpkgs/slim/files/slim/run | 1 + srcpkgs/smartmontools/files/smartd/run | 1 + srcpkgs/smcroute/files/smcrouted/run | 1 + srcpkgs/snapcast/files/snapclient/run | 1 + srcpkgs/snapcast/files/snapserver/run | 1 + srcpkgs/snapper/files/snapperd/run | 1 + srcpkgs/sndio/files/sndiod/run | 1 + srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/run | 1 + srcpkgs/spamassassin/files/spamd/run | 1 + srcpkgs/spampd/files/spampd/run | 1 + srcpkgs/spice-vdagent/files/spice-vdagentd/run | 1 + srcpkgs/spreed-webrtc/files/spreed-webrtc-server/run | 1 + srcpkgs/sqmail/files/qmail-send/run | 1 + srcpkgs/sqmail/files/qmail-smtpd/run | 1 + srcpkgs/sqmail/files/qmail-smtpsd/run | 1 + srcpkgs/sqmail/files/qmail-smtpsub/run | 1 + srcpkgs/squid/files/squid/run | 1 + srcpkgs/sshguard/files/sshguard-socklog/run | 1 + srcpkgs/ssl_exporter/files/ssl_exporter/run | 1 + srcpkgs/sslh/files/sslh/run | 1 + srcpkgs/sssd/files/sssd/run | 1 + srcpkgs/strongswan/files/strongswan/run | 1 + srcpkgs/stubby/files/stubby/run | 1 + srcpkgs/subversion/files/svnserve/run | 1 + srcpkgs/sv-netmount/files/netmount/run | 1 + srcpkgs/synapse/files/synapse/run | 1 + srcpkgs/synergy/files/synergyc/run | 1 + srcpkgs/synergy/files/synergys/run | 1 + srcpkgs/telegraf/files/telegraf/run | 1 + srcpkgs/tftp-hpa/files/tftpd-hpa/run | 1 + srcpkgs/thermald/files/thermald/run | 1 + srcpkgs/thttpd/files/thttpd/run | 1 + srcpkgs/tinc/files/tincd/run | 1 + srcpkgs/tinyproxy/files/tinyproxy/run | 1 + srcpkgs/tinyssh/files/tinysshd/run | 1 + srcpkgs/tlp/files/tlp/run | 1 + srcpkgs/tor/files/tor/run | 1 + srcpkgs/touchegg/files/touchegg/run | 1 + srcpkgs/toxcore/files/tox-bootstrapd/run | 1 + srcpkgs/transmission/files/transmission-daemon/run | 1 + srcpkgs/twoftpd/files/twoftpd-anon/run | 1 + srcpkgs/ufw/files/ufw/run | 1 + srcpkgs/ulogd/files/ulogd/run | 1 + srcpkgs/unbound/files/unbound/run | 1 + srcpkgs/upmpdcli/files/upmpdcli/run | 1 + srcpkgs/uptimed/files/uptimed/run | 1 + srcpkgs/usbguard/files/usbguard/run | 1 + srcpkgs/usbmuxd/files/usbmuxd/run | 1 + srcpkgs/util-linux/files/uuidd/run | 1 + srcpkgs/v2ray/files/v2ray/run | 1 + srcpkgs/varnish/files/varnishd/run | 1 + srcpkgs/vault/files/vault/run | 1 + srcpkgs/vaultwarden/files/vaultwarden/run | 1 + srcpkgs/virtualbox-ose/files/vboxservice/run | 1 + srcpkgs/virtualbox-ose/files/vboxwebsrv/run | 1 + srcpkgs/vnstat/files/vnstatd/run | 1 + srcpkgs/vpnd/files/vpnd/run | 1 + srcpkgs/vsftpd/files/vsftpd-ipv6/run | 1 + srcpkgs/vsftpd/files/vsftpd/run | 1 + srcpkgs/watchdog/files/watchdog/run | 1 + srcpkgs/waydroid/files/waydroid-container/run | 1 + srcpkgs/wesnoth/files/wesnothd/run | 1 + srcpkgs/wicd/files/wicd/run | 1 + srcpkgs/wireguard-tools/files/wireguard/run | 1 + srcpkgs/wireproxy/files/wireproxy/run | 1 + srcpkgs/x2goserver/files/x2gocleansessions/run | 1 + srcpkgs/xdm/files/xdm/run | 1 + srcpkgs/xen/files/xen/run | 1 + srcpkgs/xen/files/xenconsoled/run | 1 + srcpkgs/xen/files/xenstored/run | 1 + srcpkgs/xinetd/files/xinetd/run | 1 + srcpkgs/xl2tpd/files/xl2tpd/run | 1 + srcpkgs/yggdrasil/files/yggdrasil/run | 1 + srcpkgs/zabbix/files/zabbix-agent/run | 1 + srcpkgs/zabbix/files/zabbix-proxy/run | 1 + srcpkgs/zabbix/files/zabbix-server/run | 1 + srcpkgs/zeek/files/bro/run | 1 + srcpkgs/zeek/files/zeek/run | 1 + srcpkgs/zfs/files/zed/run | 1 + srcpkgs/znc/files/znc/run | 1 + srcpkgs/zrepl/files/zrepl/run | 1 + 392 files changed, 392 insertions(+) diff --git a/srcpkgs/3proxy/files/3proxy/run b/srcpkgs/3proxy/files/3proxy/run index bbdcd1a51bca..ddb3a1fa6b63 100755 --- a/srcpkgs/3proxy/files/3proxy/run +++ b/srcpkgs/3proxy/files/3proxy/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec 3proxy /etc/3proxy/3proxy.cfg diff --git a/srcpkgs/Clightd/files/Clightd/run b/srcpkgs/Clightd/files/Clightd/run index 9170543376b5..4319b150787e 100644 --- a/srcpkgs/Clightd/files/Clightd/run +++ b/srcpkgs/Clightd/files/Clightd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec /usr/libexec/clightd 2>&1 diff --git a/srcpkgs/EternalTerminal/files/etserver/run b/srcpkgs/EternalTerminal/files/etserver/run index 97e23f86cf88..a5e3fe2a793f 100644 --- a/srcpkgs/EternalTerminal/files/etserver/run +++ b/srcpkgs/EternalTerminal/files/etserver/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _eternal etserver diff --git a/srcpkgs/FreeRADIUS/files/FreeRADIUS/run b/srcpkgs/FreeRADIUS/files/FreeRADIUS/run index 525e8d2ae103..65baa3ee7901 100644 --- a/srcpkgs/FreeRADIUS/files/FreeRADIUS/run +++ b/srcpkgs/FreeRADIUS/files/FreeRADIUS/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _freeradius:_freeradius radiusd -f diff --git a/srcpkgs/GCP-Guest-Environment/files/GCP-Guest-Initialization/run b/srcpkgs/GCP-Guest-Environment/files/GCP-Guest-Initialization/run index 163298b9fa5f..33d97affb4d3 100644 --- a/srcpkgs/GCP-Guest-Environment/files/GCP-Guest-Initialization/run +++ b/srcpkgs/GCP-Guest-Environment/files/GCP-Guest-Initialization/run @@ -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 diff --git a/srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run b/srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run index 286d7b59f1d5..a387bca2edbd 100644 --- a/srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run +++ b/srcpkgs/GCP-Guest-Environment/files/GCP-accounts/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check GCP-Guest-Initialization >/dev/null || exit 1 diff --git a/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run b/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run index 33615f7eec01..e2c5534669b0 100644 --- a/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run +++ b/srcpkgs/GCP-Guest-Environment/files/GCP-clock-skew/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check GCP-Guest-Initialization >/dev/null || exit 1 diff --git a/srcpkgs/GCP-Guest-Environment/files/GCP-ip-forwarding/run b/srcpkgs/GCP-Guest-Environment/files/GCP-ip-forwarding/run index 31a2fd454520..3cb07ac1cf33 100644 --- a/srcpkgs/GCP-Guest-Environment/files/GCP-ip-forwarding/run +++ b/srcpkgs/GCP-Guest-Environment/files/GCP-ip-forwarding/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check GCP-Guest-Initialization >/dev/null || exit 1 diff --git a/srcpkgs/Gokapi/files/gokapi/run b/srcpkgs/Gokapi/files/gokapi/run index 8f4295583d2c..24213299c51e 100644 --- a/srcpkgs/Gokapi/files/gokapi/run +++ b/srcpkgs/Gokapi/files/gokapi/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/NetAuth-ldap/files/netauth-ldap/run b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run index 465f4e54904a..c49142f50e96 100644 --- a/srcpkgs/NetAuth-ldap/files/netauth-ldap/run +++ b/srcpkgs/NetAuth-ldap/files/netauth-ldap/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/NetAuth/files/netauthd/run b/srcpkgs/NetAuth/files/netauthd/run index 2f15234c2505..718a5deb4b18 100644 --- a/srcpkgs/NetAuth/files/netauthd/run +++ b/srcpkgs/NetAuth/files/netauthd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/NetworkManager/files/NetworkManager/run b/srcpkgs/NetworkManager/files/NetworkManager/run index 2df342d579b0..a1a143999ad7 100755 --- a/srcpkgs/NetworkManager/files/NetworkManager/run +++ b/srcpkgs/NetworkManager/files/NetworkManager/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec NetworkManager -n > /dev/null 2>&1 diff --git a/srcpkgs/PopCorn/files/pqueryd/run b/srcpkgs/PopCorn/files/pqueryd/run index b413a58cf116..db1958bea23d 100644 --- a/srcpkgs/PopCorn/files/pqueryd/run +++ b/srcpkgs/PopCorn/files/pqueryd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/PopCorn/files/statrepo/run b/srcpkgs/PopCorn/files/statrepo/run index 05c15baf1b75..33bbfcc7014e 100644 --- a/srcpkgs/PopCorn/files/statrepo/run +++ b/srcpkgs/PopCorn/files/statrepo/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/Swapspace/files/swapspace/run b/srcpkgs/Swapspace/files/swapspace/run index d07bc78f2e7d..3317e23833f8 100644 --- a/srcpkgs/Swapspace/files/swapspace/run +++ b/srcpkgs/Swapspace/files/swapspace/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec swapspace diff --git a/srcpkgs/acpid/files/acpid/run b/srcpkgs/acpid/files/acpid/run index 0f41739c080b..20e374fa70a1 100755 --- a/srcpkgs/acpid/files/acpid/run +++ b/srcpkgs/acpid/files/acpid/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec acpid -f ${OPTS:=-l} diff --git a/srcpkgs/alertmanager/files/alertmanager/run b/srcpkgs/alertmanager/files/alertmanager/run index c4ca4e70d674..2c86493d2115 100755 --- a/srcpkgs/alertmanager/files/alertmanager/run +++ b/srcpkgs/alertmanager/files/alertmanager/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Add $ARGS for more arguments [ -f ./conf ] && . ./conf diff --git a/srcpkgs/alfred/files/alfred/run b/srcpkgs/alfred/files/alfred/run index c80114d09a1f..362ada881786 100755 --- a/srcpkgs/alfred/files/alfred/run +++ b/srcpkgs/alfred/files/alfred/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec alfred ${OPTS:=-i "bat0" -b "bat0"} diff --git a/srcpkgs/alfred/files/batadv-vis/run b/srcpkgs/alfred/files/batadv-vis/run index 2fe016ae3793..baf7acd68fdc 100755 --- a/srcpkgs/alfred/files/batadv-vis/run +++ b/srcpkgs/alfred/files/batadv-vis/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec batadv-vis ${OPTS:=-si bat0} diff --git a/srcpkgs/alsa-utils/files/alsa/run b/srcpkgs/alsa-utils/files/alsa/run index 728c4c8dd76f..be7cbac7f80e 100755 --- a/srcpkgs/alsa-utils/files/alsa/run +++ b/srcpkgs/alsa-utils/files/alsa/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e alsactl restore exec chpst -b alsa pause diff --git a/srcpkgs/android-tools/files/adb/run b/srcpkgs/android-tools/files/adb/run index 9d81719e4c7c..d5ad652e33fb 100755 --- a/srcpkgs/android-tools/files/adb/run +++ b/srcpkgs/android-tools/files/adb/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e [ -r conf ] && . ./conf adb ${OPTS:=start-server -P5037} diff --git a/srcpkgs/anope/files/anope/run b/srcpkgs/anope/files/anope/run index ca9b72cedbf2..964ce8945da7 100644 --- a/srcpkgs/anope/files/anope/run +++ b/srcpkgs/anope/files/anope/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 exec anopeservices \ --confdir=/etc/anope \ --dbdir=/var/lib/anope \ diff --git a/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/run b/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/run index 1fcaf44eeb96..bb9d5c0ea683 100644 --- a/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/run +++ b/srcpkgs/apache-kafka/files/apache-kafka-zookeeper/run @@ -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} diff --git a/srcpkgs/apache-kafka/files/apache-kafka/run b/srcpkgs/apache-kafka/files/apache-kafka/run index 7f888a35e8cd..8a8c13c6c3d0 100644 --- a/srcpkgs/apache-kafka/files/apache-kafka/run +++ b/srcpkgs/apache-kafka/files/apache-kafka/run @@ -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} diff --git a/srcpkgs/apache-tomcat/files/apache-tomcat/run b/srcpkgs/apache-tomcat/files/apache-tomcat/run index 03f3c94067ea..1cf370821e57 100644 --- a/srcpkgs/apache-tomcat/files/apache-tomcat/run +++ b/srcpkgs/apache-tomcat/files/apache-tomcat/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export CATALINA_BASE=/usr/share/apache-tomcat diff --git a/srcpkgs/apache/files/apache/run b/srcpkgs/apache/files/apache/run index d1995dd04de1..1579bdfed20e 100644 --- a/srcpkgs/apache/files/apache/run +++ b/srcpkgs/apache/files/apache/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e diff --git a/srcpkgs/apcupsd/files/apcupsd/run b/srcpkgs/apcupsd/files/apcupsd/run index 2c0b807da287..e570f226c90a 100644 --- a/srcpkgs/apcupsd/files/apcupsd/run +++ b/srcpkgs/apcupsd/files/apcupsd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf] && . ./conf exec apcupsd -b ${OPTS} diff --git a/srcpkgs/ardor/files/ardor-tor/run b/srcpkgs/ardor/files/ardor-tor/run index a18a2d10d191..03526311ac8b 100644 --- a/srcpkgs/ardor/files/ardor-tor/run +++ b/srcpkgs/ardor/files/ardor-tor/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ardor-tor > /dev/null diff --git a/srcpkgs/ardor/files/ardor/run b/srcpkgs/ardor/files/ardor/run index b872eb1da727..f09d2d4ced10 100644 --- a/srcpkgs/ardor/files/ardor/run +++ b/srcpkgs/ardor/files/ardor/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ardor > /dev/null diff --git a/srcpkgs/armagetronad/files/armagetronad-dedicated/run b/srcpkgs/armagetronad/files/armagetronad-dedicated/run index 52127b128b5a..d129885f870b 100644 --- a/srcpkgs/armagetronad/files/armagetronad-dedicated/run +++ b/srcpkgs/armagetronad/files/armagetronad-dedicated/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec armagetronad-dedicated diff --git a/srcpkgs/asus-kbd-backlight/files/asus-kbd/run b/srcpkgs/asus-kbd-backlight/files/asus-kbd/run index dc41b16f87b2..06420e9fd7ac 100644 --- a/srcpkgs/asus-kbd-backlight/files/asus-kbd/run +++ b/srcpkgs/asus-kbd-backlight/files/asus-kbd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 asus-kbd-backlight allowusers diff --git a/srcpkgs/at/files/at/run b/srcpkgs/at/files/at/run index 967ced04cbeb..083a67dfdfcf 100755 --- a/srcpkgs/at/files/at/run +++ b/srcpkgs/at/files/at/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec atd -f diff --git a/srcpkgs/atop/files/atop/run b/srcpkgs/atop/files/atop/run index 532e35f595a1..431d390345f8 100755 --- a/srcpkgs/atop/files/atop/run +++ b/srcpkgs/atop/files/atop/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec atop -a -w /var/log/atop/atop_$(date +%Y%m%d) 600 diff --git a/srcpkgs/audit/files/auditctl/run b/srcpkgs/audit/files/auditctl/run index 64a2820eb21e..ebfa223efed5 100755 --- a/srcpkgs/audit/files/auditctl/run +++ b/srcpkgs/audit/files/auditctl/run @@ -1,4 +1,5 @@ #!/bin/sh -e +exec 2>&1 test ! -r ./conf || . ./conf diff --git a/srcpkgs/audit/files/auditd/run b/srcpkgs/audit/files/auditd/run index 4b5c68a0bdbd..7e3427652f5d 100755 --- a/srcpkgs/audit/files/auditd/run +++ b/srcpkgs/audit/files/auditd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec auditd -n diff --git a/srcpkgs/avahi/files/avahi-daemon/run b/srcpkgs/avahi/files/avahi-daemon/run index af2dc17a93dd..b0d858438fde 100755 --- a/srcpkgs/avahi/files/avahi-daemon/run +++ b/srcpkgs/avahi/files/avahi-daemon/run @@ -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 diff --git a/srcpkgs/bacula-common/files/bacula-dir/run b/srcpkgs/bacula-common/files/bacula-dir/run index be89aac60783..5632681e99d0 100755 --- a/srcpkgs/bacula-common/files/bacula-dir/run +++ b/srcpkgs/bacula-common/files/bacula-dir/run @@ -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 diff --git a/srcpkgs/bacula-common/files/bacula-fd/run b/srcpkgs/bacula-common/files/bacula-fd/run index 6f3765f1fa75..40411de5b170 100755 --- a/srcpkgs/bacula-common/files/bacula-fd/run +++ b/srcpkgs/bacula-common/files/bacula-fd/run @@ -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 diff --git a/srcpkgs/bacula-common/files/bacula-sd/run b/srcpkgs/bacula-common/files/bacula-sd/run index 6ef1480466fa..a46df0bb65a3 100755 --- a/srcpkgs/bacula-common/files/bacula-sd/run +++ b/srcpkgs/bacula-common/files/bacula-sd/run @@ -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 diff --git a/srcpkgs/barrier/files/barrierc/run b/srcpkgs/barrier/files/barrierc/run index f57a57edaf3a..ab7039aa2256 100755 --- a/srcpkgs/barrier/files/barrierc/run +++ b/srcpkgs/barrier/files/barrierc/run @@ -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 diff --git a/srcpkgs/barrier/files/barriers/run b/srcpkgs/barrier/files/barriers/run index c59b48edf947..5d4deeefb8e7 100755 --- a/srcpkgs/barrier/files/barriers/run +++ b/srcpkgs/barrier/files/barriers/run @@ -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} diff --git a/srcpkgs/beanstalkd/files/beanstalkd/run b/srcpkgs/beanstalkd/files/beanstalkd/run index dfba751acc8f..9823e332ece0 100755 --- a/srcpkgs/beanstalkd/files/beanstalkd/run +++ b/srcpkgs/beanstalkd/files/beanstalkd/run @@ -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 diff --git a/srcpkgs/beard/files/beard/run b/srcpkgs/beard/files/beard/run index 91fc4c7108f7..fe6be1a33e05 100644 --- a/srcpkgs/beard/files/beard/run +++ b/srcpkgs/beard/files/beard/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec beard -H ${BEARD_HIBERNATE:=/usr/bin/zzz} $OPTS diff --git a/srcpkgs/bftpd/files/bftpd/run b/srcpkgs/bftpd/files/bftpd/run index a20f54a93383..7c8d7b2327e7 100755 --- a/srcpkgs/bftpd/files/bftpd/run +++ b/srcpkgs/bftpd/files/bftpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec bftpd -D diff --git a/srcpkgs/binfmt-support/files/binfmt-support/run b/srcpkgs/binfmt-support/files/binfmt-support/run index 3c4d89207d92..9bf7ccfe345e 100644 --- a/srcpkgs/binfmt-support/files/binfmt-support/run +++ b/srcpkgs/binfmt-support/files/binfmt-support/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 update-binfmts --enable exec chpst -b binfmt-support pause diff --git a/srcpkgs/bird/files/bird/run b/srcpkgs/bird/files/bird/run index 80a516e1e79d..5e0468a592dd 100644 --- a/srcpkgs/bird/files/bird/run +++ b/srcpkgs/bird/files/bird/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec bird -f -u _bird -g _bird ${OPTS:=-c /etc/bird.conf} diff --git a/srcpkgs/bird_exporter/files/bird_exporter/run b/srcpkgs/bird_exporter/files/bird_exporter/run index d92d81909407..bfb99f962057 100755 --- a/srcpkgs/bird_exporter/files/bird_exporter/run +++ b/srcpkgs/bird_exporter/files/bird_exporter/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec bird_exporter ${OPTS:=-bird.v2 -format.new} diff --git a/srcpkgs/bitlbee/files/bitlbee/run b/srcpkgs/bitlbee/files/bitlbee/run index e6d5705b60fd..ac0dcef34601 100644 --- a/srcpkgs/bitlbee/files/bitlbee/run +++ b/srcpkgs/bitlbee/files/bitlbee/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e install -d -m0755 -o bitlbee -g bitlbee /run/bitlbee [ -r conf ] && . ./conf diff --git a/srcpkgs/blackbox_exporter/files/blackbox_exporter/run b/srcpkgs/blackbox_exporter/files/blackbox_exporter/run index a6dd952eac8a..de51fb53d7f9 100755 --- a/srcpkgs/blackbox_exporter/files/blackbox_exporter/run +++ b/srcpkgs/blackbox_exporter/files/blackbox_exporter/run @@ -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. diff --git a/srcpkgs/bluez-alsa/files/bluez-alsa/run b/srcpkgs/bluez-alsa/files/bluez-alsa/run index d7a73bbe2c73..2a52a6525812 100644 --- a/srcpkgs/bluez-alsa/files/bluez-alsa/run +++ b/srcpkgs/bluez-alsa/files/bluez-alsa/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf install -d -m0755 -o _bluez_alsa -g audio /run/bluealsa diff --git a/srcpkgs/bolt/files/boltd/run b/srcpkgs/bolt/files/boltd/run index 90fc46026684..8f90fd189efe 100644 --- a/srcpkgs/bolt/files/boltd/run +++ b/srcpkgs/bolt/files/boltd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec /usr/libexec/boltd > /dev/null 2>&1 diff --git a/srcpkgs/brltty/files/brltty/run b/srcpkgs/brltty/files/brltty/run index ef50183e589b..e97b3b626f04 100644 --- a/srcpkgs/brltty/files/brltty/run +++ b/srcpkgs/brltty/files/brltty/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 mkdir -p /var/run/brltty || exit 1 exec brltty -n diff --git a/srcpkgs/bumblebee/files/bumblebeed/run b/srcpkgs/bumblebee/files/bumblebeed/run index a8ee73c4373c..9a85db7e26fc 100755 --- a/srcpkgs/bumblebee/files/bumblebeed/run +++ b/srcpkgs/bumblebee/files/bumblebeed/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec bumblebeed --use-syslog diff --git a/srcpkgs/burp2-server/files/burp2-server/run b/srcpkgs/burp2-server/files/burp2-server/run index 14e3188c6f08..5ea7919b841a 100755 --- a/srcpkgs/burp2-server/files/burp2-server/run +++ b/srcpkgs/burp2-server/files/burp2-server/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec burp -F -c /etc/burp/burp-server.conf diff --git a/srcpkgs/busybox/files/busybox-klogd/run b/srcpkgs/busybox/files/busybox-klogd/run index 3db6835ffe47..a3f11984e84a 100644 --- a/srcpkgs/busybox/files/busybox-klogd/run +++ b/srcpkgs/busybox/files/busybox-klogd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec busybox klogd -n diff --git a/srcpkgs/busybox/files/busybox-ntpd/run b/srcpkgs/busybox/files/busybox-ntpd/run index 617b67f574bc..8fcd2df4f29b 100755 --- a/srcpkgs/busybox/files/busybox-ntpd/run +++ b/srcpkgs/busybox/files/busybox-ntpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec busybox ntpd -nN -p pool.ntp.org diff --git a/srcpkgs/busybox/files/busybox-syslogd/run b/srcpkgs/busybox/files/busybox-syslogd/run index d524941068c9..60d0be02ac28 100644 --- a/srcpkgs/busybox/files/busybox-syslogd/run +++ b/srcpkgs/busybox/files/busybox-syslogd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec busybox syslogd -n diff --git a/srcpkgs/cachefilesd/files/cachefilesd/run b/srcpkgs/cachefilesd/files/cachefilesd/run index 5cc506581989..4785ef933e1b 100755 --- a/srcpkgs/cachefilesd/files/cachefilesd/run +++ b/srcpkgs/cachefilesd/files/cachefilesd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf modprobe cachefiles || exit 1 exec cachefilesd -n ${OPTS:= -f /etc/cachefilesd.conf} diff --git a/srcpkgs/caddy/files/caddy/run b/srcpkgs/caddy/files/caddy/run index 58940d1bfd3b..9c259b6bb4c4 100644 --- a/srcpkgs/caddy/files/caddy/run +++ b/srcpkgs/caddy/files/caddy/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/canto-next/files/canto-daemon/run b/srcpkgs/canto-next/files/canto-daemon/run index 37a5f8912c5f..8514ff6a8f83 100644 --- a/srcpkgs/canto-next/files/canto-daemon/run +++ b/srcpkgs/canto-next/files/canto-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec canto-daemon diff --git a/srcpkgs/chronograf/files/chronograf/run b/srcpkgs/chronograf/files/chronograf/run index 3f3bb679fd8d..c5f6e0b2dc0b 100644 --- a/srcpkgs/chronograf/files/chronograf/run +++ b/srcpkgs/chronograf/files/chronograf/run @@ -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 diff --git a/srcpkgs/chrony/files/chronyd/run b/srcpkgs/chrony/files/chronyd/run index 75ee6102a3fb..a6aeb85624ce 100644 --- a/srcpkgs/chrony/files/chronyd/run +++ b/srcpkgs/chrony/files/chronyd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m750 -o chrony -g chrony /var/run/chrony exec chronyd -n -u chrony diff --git a/srcpkgs/ckb-next/files/ckb-next-daemon/run b/srcpkgs/ckb-next/files/ckb-next-daemon/run index fc0d263a74c8..65017ff8dc16 100644 --- a/srcpkgs/ckb-next/files/ckb-next-daemon/run +++ b/srcpkgs/ckb-next/files/ckb-next-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/ckb-next-daemon 2>&1 diff --git a/srcpkgs/cntlm/files/cntlm/run b/srcpkgs/cntlm/files/cntlm/run index b1e45897f545..f1d5a2fd5541 100755 --- a/srcpkgs/cntlm/files/cntlm/run +++ b/srcpkgs/cntlm/files/cntlm/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec cntlm -f 2>&1 diff --git a/srcpkgs/collectd/files/collectd/run b/srcpkgs/collectd/files/collectd/run index cb773129d1c6..bbb84229f7fc 100644 --- a/srcpkgs/collectd/files/collectd/run +++ b/srcpkgs/collectd/files/collectd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec collectd -f diff --git a/srcpkgs/colord/files/colord/run b/srcpkgs/colord/files/colord/run index 5650cdaa8885..e03c807ddeea 100755 --- a/srcpkgs/colord/files/colord/run +++ b/srcpkgs/colord/files/colord/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u colord /usr/libexec/colord 2>&1 diff --git a/srcpkgs/conduit/files/conduit/run b/srcpkgs/conduit/files/conduit/run index a3a42e323623..8ca07926e38b 100644 --- a/srcpkgs/conduit/files/conduit/run +++ b/srcpkgs/conduit/files/conduit/run @@ -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} diff --git a/srcpkgs/connman/files/connmand/run b/srcpkgs/connman/files/connmand/run index e90eed5ba4ad..4e37b35268cd 100755 --- a/srcpkgs/connman/files/connmand/run +++ b/srcpkgs/connman/files/connmand/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec connmand -n ${OPTS} diff --git a/srcpkgs/containerd/files/containerd/run b/srcpkgs/containerd/files/containerd/run index 92738de80995..b14083a80a22 100755 --- a/srcpkgs/containerd/files/containerd/run +++ b/srcpkgs/containerd/files/containerd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 env modeprobe overlay exec containerd diff --git a/srcpkgs/coturn/files/coturnserver/run b/srcpkgs/coturn/files/coturnserver/run index 3ccf906ded56..510fd31df919 100755 --- a/srcpkgs/coturn/files/coturnserver/run +++ b/srcpkgs/coturn/files/coturnserver/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _coturn:_coturn turnserver -c /etc/turnserver.conf diff --git a/srcpkgs/criu/files/criu/run b/srcpkgs/criu/files/criu/run index fa7863abe797..19a67c430bea 100755 --- a/srcpkgs/criu/files/criu/run +++ b/srcpkgs/criu/files/criu/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec criu service ${OPTS:=-o /var/log/criu-service.log} diff --git a/srcpkgs/cronie/files/cronie/run b/srcpkgs/cronie/files/cronie/run index d3045c363c6d..b7e77227b898 100755 --- a/srcpkgs/cronie/files/cronie/run +++ b/srcpkgs/cronie/files/cronie/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec cronie-crond -n $OPTS 2>&1 diff --git a/srcpkgs/cups-filters/files/cups-browsed/run b/srcpkgs/cups-filters/files/cups-browsed/run index 1a16f73d3886..2120dce7b0b6 100644 --- a/srcpkgs/cups-filters/files/cups-browsed/run +++ b/srcpkgs/cups-filters/files/cups-browsed/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec cups-browsed diff --git a/srcpkgs/cups/files/cupsd/run b/srcpkgs/cups/files/cupsd/run index 568bee19986d..d655c5d87e4d 100755 --- a/srcpkgs/cups/files/cupsd/run +++ b/srcpkgs/cups/files/cupsd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec cupsd -f diff --git a/srcpkgs/darkhttpd/files/darkhttpd/run b/srcpkgs/darkhttpd/files/darkhttpd/run index 465456978b30..9b4eb122877c 100755 --- a/srcpkgs/darkhttpd/files/darkhttpd/run +++ b/srcpkgs/darkhttpd/files/darkhttpd/run @@ -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 diff --git a/srcpkgs/dbus-elogind/files/dbus/run b/srcpkgs/dbus-elogind/files/dbus/run index ed60b734343a..4a6b981fd735 100755 --- a/srcpkgs/dbus-elogind/files/dbus/run +++ b/srcpkgs/dbus-elogind/files/dbus/run @@ -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 diff --git a/srcpkgs/dbus/files/dbus/run b/srcpkgs/dbus/files/dbus/run index ed60b734343a..4a6b981fd735 100755 --- a/srcpkgs/dbus/files/dbus/run +++ b/srcpkgs/dbus/files/dbus/run @@ -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 diff --git a/srcpkgs/dcron/files/dcron/run b/srcpkgs/dcron/files/dcron/run index dd4f22a28e59..d3bc290e799f 100755 --- a/srcpkgs/dcron/files/dcron/run +++ b/srcpkgs/dcron/files/dcron/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec dcrond -f $OPTS 2>&1 diff --git a/srcpkgs/ddclient/files/ddclient/run b/srcpkgs/ddclient/files/ddclient/run index e77a50dd3d07..8b9e7a746ca9 100644 --- a/srcpkgs/ddclient/files/ddclient/run +++ b/srcpkgs/ddclient/files/ddclient/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ddclient -foreground diff --git a/srcpkgs/deluge/files/deluge-web/run b/srcpkgs/deluge/files/deluge-web/run index 9f56a76bdae8..861a81bea28f 100644 --- a/srcpkgs/deluge/files/deluge-web/run +++ b/srcpkgs/deluge/files/deluge-web/run @@ -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 diff --git a/srcpkgs/deluge/files/deluged/run b/srcpkgs/deluge/files/deluged/run index 6162f08d46b0..9c5887638e0e 100644 --- a/srcpkgs/deluge/files/deluged/run +++ b/srcpkgs/deluge/files/deluged/run @@ -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 diff --git a/srcpkgs/dhcpcd/files/dhcpcd-eth0/run b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run index da17e8a99ae9..e468ad5fe570 100644 --- a/srcpkgs/dhcpcd/files/dhcpcd-eth0/run +++ b/srcpkgs/dhcpcd/files/dhcpcd-eth0/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec dhcpcd -B eth0 $OPTS 1>&2 diff --git a/srcpkgs/dhcpcd/files/dhcpcd/run b/srcpkgs/dhcpcd/files/dhcpcd/run index ac656a2b22bb..c2489dc1cb5d 100644 --- a/srcpkgs/dhcpcd/files/dhcpcd/run +++ b/srcpkgs/dhcpcd/files/dhcpcd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec dhcpcd -B ${OPTS:=-M} 1>&2 diff --git a/srcpkgs/dictd/files/dictd/run b/srcpkgs/dictd/files/dictd/run index 0138bb406c29..f5ffd52e0a17 100644 --- a/srcpkgs/dictd/files/dictd/run +++ b/srcpkgs/dictd/files/dictd/run @@ -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} diff --git a/srcpkgs/diod/files/diod/run b/srcpkgs/diod/files/diod/run index a1d9faa1f11e..56e4f58f8c96 100755 --- a/srcpkgs/diod/files/diod/run +++ b/srcpkgs/diod/files/diod/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec diod -f 2>&1 diff --git a/srcpkgs/distcc/files/distccd/run b/srcpkgs/distcc/files/distccd/run index 58c2676387ac..7fd8322fea71 100755 --- a/srcpkgs/distcc/files/distccd/run +++ b/srcpkgs/distcc/files/distccd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 PROG="distccd" USER="nobody" OPTIONS="--no-detach" diff --git a/srcpkgs/dkimproxy/files/dkimproxy_in/run b/srcpkgs/dkimproxy/files/dkimproxy_in/run index 444d5b08158d..3ff39abc7078 100644 --- a/srcpkgs/dkimproxy/files/dkimproxy_in/run +++ b/srcpkgs/dkimproxy/files/dkimproxy_in/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _dkim:_dkim dkimproxy.in --conf_file=/etc/dkimproxy_in.conf 2>&1 diff --git a/srcpkgs/dkimproxy/files/dkimproxy_out/run b/srcpkgs/dkimproxy/files/dkimproxy_out/run index b77c1a091bf8..b1d6cd3f3978 100644 --- a/srcpkgs/dkimproxy/files/dkimproxy_out/run +++ b/srcpkgs/dkimproxy/files/dkimproxy_out/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _dkim:_dkim dkimproxy.out --conf_file=/etc/dkimproxy_out.conf 2>&1 diff --git a/srcpkgs/dnsdist/files/dnsdist/run b/srcpkgs/dnsdist/files/dnsdist/run index 130506a53b7d..fe83bbce5480 100644 --- a/srcpkgs/dnsdist/files/dnsdist/run +++ b/srcpkgs/dnsdist/files/dnsdist/run @@ -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 diff --git a/srcpkgs/dnsmasq/files/dnsmasq/run b/srcpkgs/dnsmasq/files/dnsmasq/run index f3504f9e6ece..5d3a69b38695 100644 --- a/srcpkgs/dnsmasq/files/dnsmasq/run +++ b/srcpkgs/dnsmasq/files/dnsmasq/run @@ -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 diff --git a/srcpkgs/dovecot/files/dovecot/run b/srcpkgs/dovecot/files/dovecot/run index c3485096af91..b442b8c25cdf 100755 --- a/srcpkgs/dovecot/files/dovecot/run +++ b/srcpkgs/dovecot/files/dovecot/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m 0755 -o root -g root /var/run/dovecot exec dovecot -F diff --git a/srcpkgs/dq/files/dqcache/run b/srcpkgs/dq/files/dqcache/run index 5d3e34ebb66a..e86fe710ebcb 100644 --- a/srcpkgs/dq/files/dqcache/run +++ b/srcpkgs/dq/files/dqcache/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec chpst -U _dqcache -e /etc/dqcache/env dqcache 2>&1 diff --git a/srcpkgs/drbd-utils/files/drbd/run b/srcpkgs/drbd-utils/files/drbd/run index 0f594ec6a1df..e9b9a6d63e15 100755 --- a/srcpkgs/drbd-utils/files/drbd/run +++ b/srcpkgs/drbd-utils/files/drbd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e /usr/libexec/drbd start exec chpst -b drbd pause diff --git a/srcpkgs/dropbear/files/dropbear/run b/srcpkgs/dropbear/files/dropbear/run index 50c442b8cc98..a02d55320497 100755 --- a/srcpkgs/dropbear/files/dropbear/run +++ b/srcpkgs/dropbear/files/dropbear/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec dropbear ${OPTS:=-F -R} diff --git a/srcpkgs/duiadns/files/duiadns/run b/srcpkgs/duiadns/files/duiadns/run index c60644335b6a..ef0eade5050a 100755 --- a/srcpkgs/duiadns/files/duiadns/run +++ b/srcpkgs/duiadns/files/duiadns/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -f ./conf ] && . ./conf diff --git a/srcpkgs/earlyoom/files/earlyoom/run b/srcpkgs/earlyoom/files/earlyoom/run index 7bc8877b5b26..fd2a22c36de9 100755 --- a/srcpkgs/earlyoom/files/earlyoom/run +++ b/srcpkgs/earlyoom/files/earlyoom/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec earlyoom ${OPTS} 2>&1 >/dev/null diff --git a/srcpkgs/edac-utils/files/edac/run b/srcpkgs/edac-utils/files/edac/run index a2cc0160a2b6..6058f0b68f64 100644 --- a/srcpkgs/edac-utils/files/edac/run +++ b/srcpkgs/edac-utils/files/edac/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 edac-ctl --register-labels exec chpst -b edac pause diff --git a/srcpkgs/elog/files/elogd/run b/srcpkgs/elog/files/elogd/run index b196a73b4ef1..f754fa1e7f1d 100644 --- a/srcpkgs/elog/files/elogd/run +++ b/srcpkgs/elog/files/elogd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u elog:elog /usr/bin/elogd -c /etc/elog/elogd.cfg diff --git a/srcpkgs/elogind/files/elogind/run b/srcpkgs/elogind/files/elogind/run index e3564a0c745d..74c4c681df78 100644 --- a/srcpkgs/elogind/files/elogind/run +++ b/srcpkgs/elogind/files/elogind/run @@ -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 diff --git a/srcpkgs/etcd/files/etcd/run b/srcpkgs/etcd/files/etcd/run index 4d3f36562993..e525d638c054 100644 --- a/srcpkgs/etcd/files/etcd/run +++ b/srcpkgs/etcd/files/etcd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export ETCD_DATA_DIR=/var/lib/etcd export ETCD_NAME=etcd diff --git a/srcpkgs/eudev/files/udevd/run b/srcpkgs/eudev/files/udevd/run index 1196b0bd3eb1..b6af85ec341d 100755 --- a/srcpkgs/eudev/files/udevd/run +++ b/srcpkgs/eudev/files/udevd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 udevadm control --exit exec udevd diff --git a/srcpkgs/fah/files/FAHClient/run b/srcpkgs/fah/files/FAHClient/run index 08af6c9e12e1..98fc57d26a98 100755 --- a/srcpkgs/fah/files/FAHClient/run +++ b/srcpkgs/fah/files/FAHClient/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 OPTS=--run-as=_fah set -e [ -r config ] && . config diff --git a/srcpkgs/fail2ban/files/fail2ban/run b/srcpkgs/fail2ban/files/fail2ban/run index c8e9a5b60f6d..c8cefb6a825d 100755 --- a/srcpkgs/fail2ban/files/fail2ban/run +++ b/srcpkgs/fail2ban/files/fail2ban/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 mkdir -p /var/run/fail2ban exec fail2ban-server -f diff --git a/srcpkgs/fake-hwclock/files/fake-hwclock/run b/srcpkgs/fake-hwclock/files/fake-hwclock/run index e5f8c5a70c89..f2a6241a5da5 100755 --- a/srcpkgs/fake-hwclock/files/fake-hwclock/run +++ b/srcpkgs/fake-hwclock/files/fake-hwclock/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 exec 1>&2 [ -r /etc/default/fake-hwclock ] && . /etc/default/fake-hwclock fake-hwclock load $FORCE || exit 1 diff --git a/srcpkgs/fastd/files/fastd/run b/srcpkgs/fastd/files/fastd/run index 86cda0bf1595..4d1bad07ae0a 100755 --- a/srcpkgs/fastd/files/fastd/run +++ b/srcpkgs/fastd/files/fastd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec fastd --config /etc/fastd/fastd.conf diff --git a/srcpkgs/fcron/files/fcron/run b/srcpkgs/fcron/files/fcron/run index a3b4afbc6d64..e0f0f9631021 100755 --- a/srcpkgs/fcron/files/fcron/run +++ b/srcpkgs/fcron/files/fcron/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec fcron -f diff --git a/srcpkgs/fiche/files/fiche/run b/srcpkgs/fiche/files/fiche/run index 510687b56614..46873ebf7afd 100644 --- a/srcpkgs/fiche/files/fiche/run +++ b/srcpkgs/fiche/files/fiche/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _fiche:_fiche fiche -d yourdomain.com -o /var/tmp/fiche -l /var/log/fiche/log diff --git a/srcpkgs/firehol/files/firehol/run b/srcpkgs/firehol/files/firehol/run index 44aa326c1c28..78c2996b16be 100644 --- a/srcpkgs/firehol/files/firehol/run +++ b/srcpkgs/firehol/files/firehol/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -e /etc/firehol/firehol.conf ] && exit 0 firehol start || exit 1 exec chpst -b firehol pause diff --git a/srcpkgs/flannel/files/flannel/run b/srcpkgs/flannel/files/flannel/run index 953f7459bbfd..7bc961915dd5 100644 --- a/srcpkgs/flannel/files/flannel/run +++ b/srcpkgs/flannel/files/flannel/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check etcd >/dev/null || exit 1 exec flannel diff --git a/srcpkgs/freeipmi/files/bmc-watchdog/run b/srcpkgs/freeipmi/files/bmc-watchdog/run index 2747898f9457..ceab6fb7a269 100644 --- a/srcpkgs/freeipmi/files/bmc-watchdog/run +++ b/srcpkgs/freeipmi/files/bmc-watchdog/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -f ./conf ] && . ./conf diff --git a/srcpkgs/freeipmi/files/ipmidetectd/run b/srcpkgs/freeipmi/files/ipmidetectd/run index 1e283cce88b9..d74d97c8d1eb 100644 --- a/srcpkgs/freeipmi/files/ipmidetectd/run +++ b/srcpkgs/freeipmi/files/ipmidetectd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec ipmidetectd -d diff --git a/srcpkgs/freeipmi/files/ipmiseld/run b/srcpkgs/freeipmi/files/ipmiseld/run index 818d1bcb3e46..281a5f2d89c7 100644 --- a/srcpkgs/freeipmi/files/ipmiseld/run +++ b/srcpkgs/freeipmi/files/ipmiseld/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ipmiseld --foreground diff --git a/srcpkgs/frp/files/frpc/run b/srcpkgs/frp/files/frpc/run index c095fe5260c0..eef6a5bbc1bd 100644 --- a/srcpkgs/frp/files/frpc/run +++ b/srcpkgs/frp/files/frpc/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/frpc -c /etc/frp/frpc.ini diff --git a/srcpkgs/frp/files/frps/run b/srcpkgs/frp/files/frps/run index 210f9fc25f77..d43adc966c6c 100644 --- a/srcpkgs/frp/files/frps/run +++ b/srcpkgs/frp/files/frps/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/frps -c /etc/frp/frps.ini diff --git a/srcpkgs/frr/files/frr-generic/run b/srcpkgs/frr/files/frr-generic/run index 1a0d2dfb6cba..0725ba54ab21 100755 --- a/srcpkgs/frr/files/frr-generic/run +++ b/srcpkgs/frr/files/frr-generic/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 daemon="$(basename "${PWD}")" diff --git a/srcpkgs/fwknop/files/fwknopd/run b/srcpkgs/fwknop/files/fwknopd/run index 9d915cb51e04..f96978344dce 100644 --- a/srcpkgs/fwknop/files/fwknopd/run +++ b/srcpkgs/fwknop/files/fwknopd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec fwknopd -f diff --git a/srcpkgs/gdm/files/gdm/run b/srcpkgs/gdm/files/gdm/run index a271fbcf070c..af0fbc08a88e 100755 --- a/srcpkgs/gdm/files/gdm/run +++ b/srcpkgs/gdm/files/gdm/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus > /dev/null || exit 1 [ ! -d /run/gdm ] && mkdir -m0711 -p /run/gdm && chown root:gdm /run/gdm exec gdm diff --git a/srcpkgs/gemserv/files/gemserv/run b/srcpkgs/gemserv/files/gemserv/run index 954bc6026268..a7f60bc8d55d 100755 --- a/srcpkgs/gemserv/files/gemserv/run +++ b/srcpkgs/gemserv/files/gemserv/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec chpst -u _gemserv gemserv ${CONF:-/etc/gemserv.conf} diff --git a/srcpkgs/geomyidae/files/geomyidae/run b/srcpkgs/geomyidae/files/geomyidae/run index c03e821b16db..f28cc87f0623 100755 --- a/srcpkgs/geomyidae/files/geomyidae/run +++ b/srcpkgs/geomyidae/files/geomyidae/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf user=_geomyidae diff --git a/srcpkgs/gerbera/files/gerbera/run b/srcpkgs/gerbera/files/gerbera/run index cab802769fe9..0bcd38bddbc6 100755 --- a/srcpkgs/gerbera/files/gerbera/run +++ b/srcpkgs/gerbera/files/gerbera/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ ! -d /var/lib/gerbera/.config ]; then mkdir -p /var/lib/gerbera/.config/gerbera diff --git a/srcpkgs/gitea/files/gitea/run b/srcpkgs/gitea/files/gitea/run index 0644a7895266..d16e22ba9d6e 100755 --- a/srcpkgs/gitea/files/gitea/run +++ b/srcpkgs/gitea/files/gitea/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # USER and HOME are needed because gitea doesn't actually check the user it # runs as, but instead just grabs the variables from the variables. diff --git a/srcpkgs/gitlab-runner/files/gitlab-runner/run b/srcpkgs/gitlab-runner/files/gitlab-runner/run index 5a137b78d9be..0ad8e3441d04 100644 --- a/srcpkgs/gitlab-runner/files/gitlab-runner/run +++ b/srcpkgs/gitlab-runner/files/gitlab-runner/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec gitlab-runner run diff --git a/srcpkgs/glibc/files/nscd/run b/srcpkgs/glibc/files/nscd/run index e9ea04a19e97..53127524af2b 100755 --- a/srcpkgs/glibc/files/nscd/run +++ b/srcpkgs/glibc/files/nscd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf mkdir -p /var/run/nscd /var/db/nscd exec nscd -F ${OPTS} >/dev/null diff --git a/srcpkgs/glider/files/glider/run b/srcpkgs/glider/files/glider/run index 807b7568362e..92802a87e5cd 100644 --- a/srcpkgs/glider/files/glider/run +++ b/srcpkgs/glider/files/glider/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u nobody:nogroup glider -config /etc/glider/config diff --git a/srcpkgs/glusterfs/files/glusterd/run b/srcpkgs/glusterfs/files/glusterd/run index 7f0e6820e66f..41463c3f49af 100644 --- a/srcpkgs/glusterfs/files/glusterd/run +++ b/srcpkgs/glusterfs/files/glusterd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec glusterd -N 2>&1 diff --git a/srcpkgs/glusterfs/files/glusterfsd/run b/srcpkgs/glusterfs/files/glusterfsd/run index 15dd0bed4462..944b6ba04bf4 100644 --- a/srcpkgs/glusterfs/files/glusterfsd/run +++ b/srcpkgs/glusterfs/files/glusterfsd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec glusterfsd -N 2>&1 diff --git a/srcpkgs/gnunet/files/gnunet/run b/srcpkgs/gnunet/files/gnunet/run index 4adb83a4d027..85671e61debf 100644 --- a/srcpkgs/gnunet/files/gnunet/run +++ b/srcpkgs/gnunet/files/gnunet/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 /usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet/gnunet.conf diff --git a/srcpkgs/go-ipfs/files/ipfs/run b/srcpkgs/go-ipfs/files/ipfs/run index 29690e65659a..f93d0fade078 100755 --- a/srcpkgs/go-ipfs/files/ipfs/run +++ b/srcpkgs/go-ipfs/files/ipfs/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf export IPFS_PATH=${IPFS_PATH:=/var/lib/ipfs} exec chpst -u _ipfs ipfs daemon ${OPTS:=--init --enable-gc --migrate} 2>&1 diff --git a/srcpkgs/goatcounter/files/goatcounter/run b/srcpkgs/goatcounter/files/goatcounter/run index e52e6387f0a5..61bf906780cf 100755 --- a/srcpkgs/goatcounter/files/goatcounter/run +++ b/srcpkgs/goatcounter/files/goatcounter/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/gogs/files/gogs/run b/srcpkgs/gogs/files/gogs/run index 361e12f0f75c..90aa26207388 100644 --- a/srcpkgs/gogs/files/gogs/run +++ b/srcpkgs/gogs/files/gogs/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export USER=gogs export HOME=/srv/gogs exec chpst -u gogs:gogs -P gogs web --config /etc/gogs.ini 2>&1 diff --git a/srcpkgs/gpm/files/gpm/run b/srcpkgs/gpm/files/gpm/run index 1d1a3e77d9f2..6883c7c43de4 100755 --- a/srcpkgs/gpm/files/gpm/run +++ b/srcpkgs/gpm/files/gpm/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec 1>&2 exec gpm -D -m /dev/input/mice -t imps2 diff --git a/srcpkgs/gpsd/files/gpsd/run b/srcpkgs/gpsd/files/gpsd/run index 43ad7c8f93f2..8c8d973044ef 100644 --- a/srcpkgs/gpsd/files/gpsd/run +++ b/srcpkgs/gpsd/files/gpsd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec /usr/bin/gpsd -N -F /run/gpsd.sock $OPTS ${DEV:=/dev/gps0} diff --git a/srcpkgs/grafana/files/grafana/run b/srcpkgs/grafana/files/grafana/run index 3a78eec79a79..f1d961e83f48 100755 --- a/srcpkgs/grafana/files/grafana/run +++ b/srcpkgs/grafana/files/grafana/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1 diff --git a/srcpkgs/h2o/files/h2o/run b/srcpkgs/h2o/files/h2o/run index 57e623ede217..2e1e931f1701 100644 --- a/srcpkgs/h2o/files/h2o/run +++ b/srcpkgs/h2o/files/h2o/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec h2o -c /etc/h2o.conf diff --git a/srcpkgs/haproxy/files/haproxy/run b/srcpkgs/haproxy/files/haproxy/run index 997215b0ca70..822c75dba8db 100755 --- a/srcpkgs/haproxy/files/haproxy/run +++ b/srcpkgs/haproxy/files/haproxy/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec haproxy -W -f /etc/haproxy/haproxy.cfg diff --git a/srcpkgs/haveged/files/haveged/run b/srcpkgs/haveged/files/haveged/run index 30abcbdc0d26..2c09586db33f 100644 --- a/srcpkgs/haveged/files/haveged/run +++ b/srcpkgs/haveged/files/haveged/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec 1>&2 exec haveged -w 1024 -v 1 -F diff --git a/srcpkgs/hddtemp/files/hddtemp/run b/srcpkgs/hddtemp/files/hddtemp/run index fbed7ddb0bc7..790768cf33e1 100755 --- a/srcpkgs/hddtemp/files/hddtemp/run +++ b/srcpkgs/hddtemp/files/hddtemp/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec hddtemp -dF ${OPTS:=/dev/sda} diff --git a/srcpkgs/hiawatha/files/hiawatha/run b/srcpkgs/hiawatha/files/hiawatha/run index eb962fb992ce..2865ab6f7c51 100755 --- a/srcpkgs/hiawatha/files/hiawatha/run +++ b/srcpkgs/hiawatha/files/hiawatha/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec hiawatha -d diff --git a/srcpkgs/hitch/files/hitch/run b/srcpkgs/hitch/files/hitch/run index bd09afdb4261..9e665f41f65e 100755 --- a/srcpkgs/hitch/files/hitch/run +++ b/srcpkgs/hitch/files/hitch/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec hitch -u _hitch --config=/etc/hitch.conf diff --git a/srcpkgs/hostapd/files/hostapd/run b/srcpkgs/hostapd/files/hostapd/run index 0d17269e5d5e..39628755b420 100644 --- a/srcpkgs/hostapd/files/hostapd/run +++ b/srcpkgs/hostapd/files/hostapd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec hostapd -s /etc/hostapd/hostapd.conf 2>&1 diff --git a/srcpkgs/i2pd/files/i2pd/run b/srcpkgs/i2pd/files/i2pd/run index 2395b784eed4..a68c888a478b 100644 --- a/srcpkgs/i2pd/files/i2pd/run +++ b/srcpkgs/i2pd/files/i2pd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf ulimit -n ${MAX_OPEN_FILES:-16384} exec chpst -u _i2pd:_i2pd i2pd --service \ diff --git a/srcpkgs/i8kutils/files/i8kmon/run b/srcpkgs/i8kutils/files/i8kmon/run index 4e0179182e77..569ebcc4a3be 100644 --- a/srcpkgs/i8kutils/files/i8kmon/run +++ b/srcpkgs/i8kutils/files/i8kmon/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ -r ./conf ]; then . ./conf diff --git a/srcpkgs/icinga2/files/icinga2/run b/srcpkgs/icinga2/files/icinga2/run index 456a8b246e41..d70f08eeaa99 100644 --- a/srcpkgs/icinga2/files/icinga2/run +++ b/srcpkgs/icinga2/files/icinga2/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -oicinga -gicinga -d /run/icinga2 exec icinga2 daemon 2>&1 diff --git a/srcpkgs/iio-sensor-proxy/files/iio-sensor-proxy/run b/srcpkgs/iio-sensor-proxy/files/iio-sensor-proxy/run index 5d3c8e9747ca..2744a2279c38 100755 --- a/srcpkgs/iio-sensor-proxy/files/iio-sensor-proxy/run +++ b/srcpkgs/iio-sensor-proxy/files/iio-sensor-proxy/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/libexec/iio-sensor-proxy diff --git a/srcpkgs/inadyn/files/inadyn/run b/srcpkgs/inadyn/files/inadyn/run index 072f7fc1db52..d01febe7e8d6 100644 --- a/srcpkgs/inadyn/files/inadyn/run +++ b/srcpkgs/inadyn/files/inadyn/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf [ ! -d /run/inadyn ] && mkdir -p /run/inadyn && diff --git a/srcpkgs/incron/files/incron/run b/srcpkgs/incron/files/incron/run index 95fa0cfd9e3f..34c3272335a4 100644 --- a/srcpkgs/incron/files/incron/run +++ b/srcpkgs/incron/files/incron/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec incrond -n diff --git a/srcpkgs/influxdb/files/influxdb/run b/srcpkgs/influxdb/files/influxdb/run index dbb25cd03489..21a5285de281 100755 --- a/srcpkgs/influxdb/files/influxdb/run +++ b/srcpkgs/influxdb/files/influxdb/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec chpst -u _influxdb:_influxdb influxd -config /etc/influxdb/influxdb.conf 2>&1 diff --git a/srcpkgs/inspircd/files/inspircd/run b/srcpkgs/inspircd/files/inspircd/run index a9b6b365f977..a58657811577 100644 --- a/srcpkgs/inspircd/files/inspircd/run +++ b/srcpkgs/inspircd/files/inspircd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec chpst -u inspircd inspircd \ --nofork --config /etc/inspircd/inspircd.conf diff --git a/srcpkgs/iptables/files/ip6tables/run b/srcpkgs/iptables/files/ip6tables/run index 10e559afe91d..f62abbbb5415 100644 --- a/srcpkgs/iptables/files/ip6tables/run +++ b/srcpkgs/iptables/files/ip6tables/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -e /etc/iptables/ip6tables.rules ] && exit 0 ip6tables-restore -w 3 /etc/iptables/ip6tables.rules || exit 1 exec chpst -b ip6tables pause diff --git a/srcpkgs/iptables/files/iptables/run b/srcpkgs/iptables/files/iptables/run index 74a2ab20d63c..346d7c332a1f 100644 --- a/srcpkgs/iptables/files/iptables/run +++ b/srcpkgs/iptables/files/iptables/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -e /etc/iptables/iptables.rules ] && exit 0 iptables-restore -w 3 /etc/iptables/iptables.rules || exit 1 exec chpst -b iptables pause diff --git a/srcpkgs/ipvsadm/files/ipvsadm/run b/srcpkgs/ipvsadm/files/ipvsadm/run index 6bf7e37a3984..e4b60d5281f4 100644 --- a/srcpkgs/ipvsadm/files/ipvsadm/run +++ b/srcpkgs/ipvsadm/files/ipvsadm/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 : ${CONF_FILE:=/etc/ipvsadm.conf} [ -r conf ] && . ./conf [ -s $CONF_FILE ] || exit 0 diff --git a/srcpkgs/irqbalance/files/irqbalance/run b/srcpkgs/irqbalance/files/irqbalance/run index 8c96e180cc71..cb32dd2597ad 100755 --- a/srcpkgs/irqbalance/files/irqbalance/run +++ b/srcpkgs/irqbalance/files/irqbalance/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf install -d -m0755 /run/irqbalance exec irqbalance -f $OPTS diff --git a/srcpkgs/iwd/files/ead/run b/srcpkgs/iwd/files/ead/run index be32e2dbfa37..398550cf7d13 100644 --- a/srcpkgs/iwd/files/ead/run +++ b/srcpkgs/iwd/files/ead/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . conf exec /usr/libexec/ead ${OPTS} 2>&1 diff --git a/srcpkgs/iwd/files/iwd/run b/srcpkgs/iwd/files/iwd/run index f42e3cfc4ffa..7b751e0a5a8c 100755 --- a/srcpkgs/iwd/files/iwd/run +++ b/srcpkgs/iwd/files/iwd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec /usr/libexec/iwd ${OPTS} 2>&1 diff --git a/srcpkgs/jenkins/files/jenkins/run b/srcpkgs/jenkins/files/jenkins/run index 05d8a79c68db..a17ef44df7f0 100755 --- a/srcpkgs/jenkins/files/jenkins/run +++ b/srcpkgs/jenkins/files/jenkins/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 . /etc/profile [ -r conf ] && . ./conf diff --git a/srcpkgs/kapacitor/files/kapacitor/run b/srcpkgs/kapacitor/files/kapacitor/run index bf01be588bae..98965928a848 100644 --- a/srcpkgs/kapacitor/files/kapacitor/run +++ b/srcpkgs/kapacitor/files/kapacitor/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _kapacitor:_kapacitor kapacitord --config /etc/kapacitor/kapacitor.conf 2>&1 diff --git a/srcpkgs/kea/files/kea-dhcp-ddns/run b/srcpkgs/kea/files/kea-dhcp-ddns/run index dc6ecbb017fe..5676ff1bfaec 100644 --- a/srcpkgs/kea/files/kea-dhcp-ddns/run +++ b/srcpkgs/kea/files/kea-dhcp-ddns/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf mkdir -p /run/kea exec kea-dhcp-ddns ${OPTS:=-c /etc/kea/kea.conf} diff --git a/srcpkgs/kea/files/kea-dhcp4/run b/srcpkgs/kea/files/kea-dhcp4/run index 1f99ae418bd9..faac2be967d6 100644 --- a/srcpkgs/kea/files/kea-dhcp4/run +++ b/srcpkgs/kea/files/kea-dhcp4/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf [ -n "$WAIT_IFACE" ] && [ -z "$(ip -f inet address show "$WAIT_IFACE")" ] && exit 1 mkdir -p /run/kea diff --git a/srcpkgs/kea/files/kea-dhcp6/run b/srcpkgs/kea/files/kea-dhcp6/run index 00d0eeff8010..f3977e3cc86a 100644 --- a/srcpkgs/kea/files/kea-dhcp6/run +++ b/srcpkgs/kea/files/kea-dhcp6/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf [ -n "$WAIT_IFACE" ] && [ -z "$(ip -f inet6 address show "$WAIT_IFACE")" ] && exit 1 mkdir -p /run/kea diff --git a/srcpkgs/keepalived/files/keepalived/run b/srcpkgs/keepalived/files/keepalived/run index bec8c0de5ee1..e542d2d20dca 100644 --- a/srcpkgs/keepalived/files/keepalived/run +++ b/srcpkgs/keepalived/files/keepalived/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec keepalived --dont-fork diff --git a/srcpkgs/keyd/files/keyd/run b/srcpkgs/keyd/files/keyd/run index 5e62cef91c72..471e3f59b872 100644 --- a/srcpkgs/keyd/files/keyd/run +++ b/srcpkgs/keyd/files/keyd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Sometimes when starting the keyd service, the keyboard can become unresponsive. # This is the result of keyd starting when the early udevd process is still running but diff --git a/srcpkgs/knot-resolver/files/kresd/run b/srcpkgs/knot-resolver/files/kresd/run index 2342892a135f..43b80cda27f2 100644 --- a/srcpkgs/knot-resolver/files/kresd/run +++ b/srcpkgs/knot-resolver/files/kresd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf install -d -m0755 -o _knot_resolver -g _knot_resolver /run/knot-resolver exec kresd ${OPTS:--f 1} diff --git a/srcpkgs/knot/files/knotd/run b/srcpkgs/knot/files/knotd/run index 85301ab0461d..ee822deb055d 100644 --- a/srcpkgs/knot/files/knotd/run +++ b/srcpkgs/knot/files/knotd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf install -d -m0755 -o _knot -g _knot /run/knot exec knotd ${OPTS} diff --git a/srcpkgs/kubernetes/files/kube-apiserver/run b/srcpkgs/kubernetes/files/kube-apiserver/run index 159804b95a5b..a5106159a375 100644 --- a/srcpkgs/kubernetes/files/kube-apiserver/run +++ b/srcpkgs/kubernetes/files/kube-apiserver/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r /etc/kubernetes/config ] && . /etc/kubernetes/config [ -r /etc/kubernetes/apiserver ] && . /etc/kubernetes/apiserver exec chpst -u kube:kube kube-apiserver \ diff --git a/srcpkgs/kubernetes/files/kube-controller-manager/run b/srcpkgs/kubernetes/files/kube-controller-manager/run index 5d298168109d..272df9c5495c 100644 --- a/srcpkgs/kubernetes/files/kube-controller-manager/run +++ b/srcpkgs/kubernetes/files/kube-controller-manager/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r /etc/kubernetes/config ] && . /etc/kubernetes/config [ -r /etc/kubernetes/controller-manager ] && . /etc/kubernetes/controller-manager exec chpst -u kube:kube kube-controller-manager \ diff --git a/srcpkgs/kubernetes/files/kube-proxy/run b/srcpkgs/kubernetes/files/kube-proxy/run index 58f4865ccbe7..85f5ceac0fba 100644 --- a/srcpkgs/kubernetes/files/kube-proxy/run +++ b/srcpkgs/kubernetes/files/kube-proxy/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r /etc/kubernetes/config ] && . /etc/kubernetes/config [ -r /etc/kubernetes/proxy ] && . /etc/kubernetes/proxy exec kube-proxy \ diff --git a/srcpkgs/kubernetes/files/kube-scheduler/run b/srcpkgs/kubernetes/files/kube-scheduler/run index 8e0a83a7613e..57925b60bcaa 100644 --- a/srcpkgs/kubernetes/files/kube-scheduler/run +++ b/srcpkgs/kubernetes/files/kube-scheduler/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r /etc/kubernetes/config ] && . /etc/kubernetes/config [ -r /etc/kubernetes/scheduler ] && . /etc/kubernetes/scheduler exec chpst -u kube:kube kube-scheduler \ diff --git a/srcpkgs/kubernetes/files/kubelet/run b/srcpkgs/kubernetes/files/kubelet/run index 4b623e966e5c..0bea9b4d28f6 100644 --- a/srcpkgs/kubernetes/files/kubelet/run +++ b/srcpkgs/kubernetes/files/kubelet/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r /etc/kubernetes/config ] && . /etc/kubernetes/config [ -r /etc/kubernetes/kubelet ] && . /etc/kubernetes/kubelet exec kubelet $OPTS 2>/dev/null diff --git a/srcpkgs/laptop-mode/files/laptop-mode/run b/srcpkgs/laptop-mode/files/laptop-mode/run index 8d8e154ec876..ad3d976d14f7 100644 --- a/srcpkgs/laptop-mode/files/laptop-mode/run +++ b/srcpkgs/laptop-mode/files/laptop-mode/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 laptop_mode init auto exec chpst -b laptop-mode pause diff --git a/srcpkgs/ldm/files/ldm/run b/srcpkgs/ldm/files/ldm/run index bf242b7e00b5..e139a58df257 100644 --- a/srcpkgs/ldm/files/ldm/run +++ b/srcpkgs/ldm/files/ldm/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -s conf ] && . ./conf exec ldm ${OPTS:=-u nobody} diff --git a/srcpkgs/libcgroup/files/cgred/run b/srcpkgs/libcgroup/files/cgred/run index 7b621d762c61..eb3a298bf855 100755 --- a/srcpkgs/libcgroup/files/cgred/run +++ b/srcpkgs/libcgroup/files/cgred/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Default logs to syslog with facility DAEMON # man cgrulesengd for options list and descriptions. [ -r conf ] && . ./conf diff --git a/srcpkgs/libratbag/files/ratbagd/run b/srcpkgs/libratbag/files/ratbagd/run index 1fbf9c8e5a7d..b5ae8240f029 100755 --- a/srcpkgs/libratbag/files/ratbagd/run +++ b/srcpkgs/libratbag/files/ratbagd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec ratbagd diff --git a/srcpkgs/libvirt/files/libvirt-generic/run b/srcpkgs/libvirt/files/libvirt-generic/run index 93b8a31ae81e..9d172da0a423 100644 --- a/srcpkgs/libvirt/files/libvirt-generic/run +++ b/srcpkgs/libvirt/files/libvirt-generic/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 diff --git a/srcpkgs/lightdm/files/lightdm/run b/srcpkgs/lightdm/files/lightdm/run index cabe9dd5b87d..f376f39f00a4 100755 --- a/srcpkgs/lightdm/files/lightdm/run +++ b/srcpkgs/lightdm/files/lightdm/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 install -d -m0711 -olightdm -glightdm /run/lightdm [ -f ./conf ] && . ./conf diff --git a/srcpkgs/lighttpd/files/lighttpd/run b/srcpkgs/lighttpd/files/lighttpd/run index b1d0bb000f7f..59fbe4c0def2 100644 --- a/srcpkgs/lighttpd/files/lighttpd/run +++ b/srcpkgs/lighttpd/files/lighttpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf diff --git a/srcpkgs/linux-tools/files/freefall/run b/srcpkgs/linux-tools/files/freefall/run index 51a9f293b473..9aee7a51a7d3 100644 --- a/srcpkgs/linux-tools/files/freefall/run +++ b/srcpkgs/linux-tools/files/freefall/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec freefall ${OPTS:=/dev/sda} diff --git a/srcpkgs/linux-tools/files/usbipd/run b/srcpkgs/linux-tools/files/usbipd/run index 9deca9bdfae8..4da64ab288e7 100755 --- a/srcpkgs/linux-tools/files/usbipd/run +++ b/srcpkgs/linux-tools/files/usbipd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 modprobe -q usbip-host || exit 1 modprobe -q vhci-hcd || exit 1 exec usbipd diff --git a/srcpkgs/lldpd/files/lldpd/run b/srcpkgs/lldpd/files/lldpd/run index 79ec74814eaf..f10c7ddd50b1 100755 --- a/srcpkgs/lldpd/files/lldpd/run +++ b/srcpkgs/lldpd/files/lldpd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec lldpd ${OPTS:- -d} 2>&1 diff --git a/srcpkgs/lm_sensors/files/fancontrol/run b/srcpkgs/lm_sensors/files/fancontrol/run index f04fce8d648f..0025d9784a5d 100644 --- a/srcpkgs/lm_sensors/files/fancontrol/run +++ b/srcpkgs/lm_sensors/files/fancontrol/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . conf [ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1 exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol} diff --git a/srcpkgs/lsyncd/files/lsyncd/run b/srcpkgs/lsyncd/files/lsyncd/run index c6baeb891c2f..6a8a5ec808de 100644 --- a/srcpkgs/lsyncd/files/lsyncd/run +++ b/srcpkgs/lsyncd/files/lsyncd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec lsyncd -nodaemon "${CONF_FILE:-/etc/lsyncd/lsyncd.conf.lua}" diff --git a/srcpkgs/lvm2/files/dmeventd/run b/srcpkgs/lvm2/files/dmeventd/run index 09ceb7fd8f3c..b6dc448dd990 100644 --- a/srcpkgs/lvm2/files/dmeventd/run +++ b/srcpkgs/lvm2/files/dmeventd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec dmeventd -f diff --git a/srcpkgs/lvm2/files/lvmetad/run b/srcpkgs/lvm2/files/lvmetad/run index f85b5cf6f9c6..c203a0ed9a77 100644 --- a/srcpkgs/lvm2/files/lvmetad/run +++ b/srcpkgs/lvm2/files/lvmetad/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec lvmetad -f diff --git a/srcpkgs/lxc/files/lxc-autostart/run b/srcpkgs/lxc/files/lxc-autostart/run index 5e93d5ef35d2..5dd11d01c225 100755 --- a/srcpkgs/lxc/files/lxc-autostart/run +++ b/srcpkgs/lxc/files/lxc-autostart/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 lxc-autostart || exit 1 exec chpst -b lxc-autostart pause diff --git a/srcpkgs/lxcfs/files/lxcfs/run b/srcpkgs/lxcfs/files/lxcfs/run index 2e751d7e9810..7ff382798f93 100755 --- a/srcpkgs/lxcfs/files/lxcfs/run +++ b/srcpkgs/lxcfs/files/lxcfs/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec lxcfs -f /var/lib/lxcfs diff --git a/srcpkgs/lxd-lts/files/lxd/run b/srcpkgs/lxd-lts/files/lxd/run index a32a24389378..4a9ea61ba9a6 100755 --- a/srcpkgs/lxd-lts/files/lxd/run +++ b/srcpkgs/lxd-lts/files/lxd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 _systemd_cgrp="/sys/fs/cgroup/systemd" if [ ! -d ${_systemd_cgrp} ]; then mkdir ${_systemd_cgrp} diff --git a/srcpkgs/lxd/files/lxd/run b/srcpkgs/lxd/files/lxd/run index a32a24389378..4a9ea61ba9a6 100644 --- a/srcpkgs/lxd/files/lxd/run +++ b/srcpkgs/lxd/files/lxd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 _systemd_cgrp="/sys/fs/cgroup/systemd" if [ ! -d ${_systemd_cgrp} ]; then mkdir ${_systemd_cgrp} diff --git a/srcpkgs/lxdm/files/lxdm/run b/srcpkgs/lxdm/files/lxdm/run index f25827cf42a0..55b6a191149d 100755 --- a/srcpkgs/lxdm/files/lxdm/run +++ b/srcpkgs/lxdm/files/lxdm/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec lxdm diff --git a/srcpkgs/mDNSResponder/files/dnsextd/run b/srcpkgs/mDNSResponder/files/dnsextd/run index 640e11c76f9c..bf3f8ec1c79c 100644 --- a/srcpkgs/mDNSResponder/files/dnsextd/run +++ b/srcpkgs/mDNSResponder/files/dnsextd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec dnsextd -d diff --git a/srcpkgs/mDNSResponder/files/mdnsd/run b/srcpkgs/mDNSResponder/files/mdnsd/run index 2eb4d89f2583..58b59acf898a 100644 --- a/srcpkgs/mDNSResponder/files/mdnsd/run +++ b/srcpkgs/mDNSResponder/files/mdnsd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec mdnsd -debug diff --git a/srcpkgs/mariadb/files/mysqld/run b/srcpkgs/mariadb/files/mysqld/run index bc16a07883ed..6368eb526c5a 100755 --- a/srcpkgs/mariadb/files/mysqld/run +++ b/srcpkgs/mariadb/files/mysqld/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -d /run/mysqld ] && mkdir -p /run/mysqld chown mysql:mysql /run/mysqld exec chpst -u mysql:mysql mysqld --user=mysql 2>&1 diff --git a/srcpkgs/mcelog/files/mcelog/run b/srcpkgs/mcelog/files/mcelog/run index 18691c742c01..f0842d518919 100755 --- a/srcpkgs/mcelog/files/mcelog/run +++ b/srcpkgs/mcelog/files/mcelog/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec mcelog --daemon --foreground --syslog diff --git a/srcpkgs/mdadm/files/mdadm/run b/srcpkgs/mdadm/files/mdadm/run index b9684b26a831..38670a644ae3 100755 --- a/srcpkgs/mdadm/files/mdadm/run +++ b/srcpkgs/mdadm/files/mdadm/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 # --syslog makes it run in every case, yet forwards to mail address if given. exec mdadm --monitor --scan --syslog diff --git a/srcpkgs/metalog/files/metalog/run b/srcpkgs/metalog/files/metalog/run index 0f801d171017..5b7ff14eba60 100755 --- a/srcpkgs/metalog/files/metalog/run +++ b/srcpkgs/metalog/files/metalog/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 exec 1>&2 [ -r conf ] && . ./conf exec metalog ${OPTS=-v} diff --git a/srcpkgs/minidlna/files/minidlnad/run b/srcpkgs/minidlna/files/minidlnad/run index f38a72eb355f..406865afa577 100644 --- a/srcpkgs/minidlna/files/minidlnad/run +++ b/srcpkgs/minidlna/files/minidlnad/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec minidlnad -S ${OPTS} 2>&1 diff --git a/srcpkgs/minio/files/minio/run b/srcpkgs/minio/files/minio/run index ecea96356c9a..dfbae379b4a4 100755 --- a/srcpkgs/minio/files/minio/run +++ b/srcpkgs/minio/files/minio/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 . /etc/default/minio : ${MINIO_VOLUMES:="/var/lib/minio/data/"} exec chpst -u _minio:_minio minio -C /etc/minio/ server "$MINIO_VOLUMES" diff --git a/srcpkgs/mit-krb5/files/kadmind/run b/srcpkgs/mit-krb5/files/kadmind/run index 55ccb49c9141..0fa119dc9ab0 100755 --- a/srcpkgs/mit-krb5/files/kadmind/run +++ b/srcpkgs/mit-krb5/files/kadmind/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec kadmind -nofork diff --git a/srcpkgs/mit-krb5/files/krb5kdc/run b/srcpkgs/mit-krb5/files/krb5kdc/run index f4d7314003a7..847e73e79503 100755 --- a/srcpkgs/mit-krb5/files/krb5kdc/run +++ b/srcpkgs/mit-krb5/files/krb5kdc/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec krb5kdc -n diff --git a/srcpkgs/moby/files/docker/run b/srcpkgs/moby/files/docker/run index ed42f5fa72f8..959c22b803c5 100644 --- a/srcpkgs/moby/files/docker/run +++ b/srcpkgs/moby/files/docker/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf modprobe -q loop || exit 1 mountpoint -q /sys/fs/cgroup/systemd || { diff --git a/srcpkgs/monero/files/monerod/run b/srcpkgs/monero/files/monerod/run index bc06010c7c2e..f485e63659fa 100644 --- a/srcpkgs/monero/files/monerod/run +++ b/srcpkgs/monero/files/monerod/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u monero:monero /usr/bin/monerod --non-interactive --config-file /etc/monerod.conf diff --git a/srcpkgs/monit/files/monit/run b/srcpkgs/monit/files/monit/run index f80af51c5397..13a36afab271 100644 --- a/srcpkgs/monit/files/monit/run +++ b/srcpkgs/monit/files/monit/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ -f /etc/monit/monitrc ]; then CONF="-c /etc/monit/monitrc" fi diff --git a/srcpkgs/monkey/files/monkey/run b/srcpkgs/monkey/files/monkey/run index 95dad012d94d..15a45ba93f31 100644 --- a/srcpkgs/monkey/files/monkey/run +++ b/srcpkgs/monkey/files/monkey/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec monkey diff --git a/srcpkgs/moosefs/files/mfschunkserver/run b/srcpkgs/moosefs/files/mfschunkserver/run index 3e02c6e9e60e..316c8507de62 100644 --- a/srcpkgs/moosefs/files/mfschunkserver/run +++ b/srcpkgs/moosefs/files/mfschunkserver/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -e conf ] && . ./conf : ${CONF_FILE:=/etc/mfs/mfschunkserver.cfg} [ -e ${CONF_FILE} ] || exit 1 diff --git a/srcpkgs/moosefs/files/mfsmaster/run b/srcpkgs/moosefs/files/mfsmaster/run index 083632c8a883..72389baab5fd 100644 --- a/srcpkgs/moosefs/files/mfsmaster/run +++ b/srcpkgs/moosefs/files/mfsmaster/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -e conf ] && . ./conf : ${CONF_FILE:=/etc/mfs/mfsmaster.cfg} [ -e ${CONF_FILE} ] || exit 1 diff --git a/srcpkgs/moosefs/files/mfsmetalogger/run b/srcpkgs/moosefs/files/mfsmetalogger/run index bdd9fdf432a9..2797217ea172 100644 --- a/srcpkgs/moosefs/files/mfsmetalogger/run +++ b/srcpkgs/moosefs/files/mfsmetalogger/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -e conf ] && . ./conf : ${CONF_FILE:=/etc/mfs/mfsmetalogger.cfg} [ -e ${CONF_FILE} ] || exit 1 diff --git a/srcpkgs/mopidy/files/mopidy/run b/srcpkgs/mopidy/files/mopidy/run index 558c2d7a4e67..68c0263086e2 100755 --- a/srcpkgs/mopidy/files/mopidy/run +++ b/srcpkgs/mopidy/files/mopidy/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 exec chpst -u mopidy:audio \ mopidy --config /etc/mopidy/mopidy.conf \ >/dev/null 2>&1 diff --git a/srcpkgs/mosquitto/files/mosquitto/run b/srcpkgs/mosquitto/files/mosquitto/run index a33891408325..3a8ac97289a7 100644 --- a/srcpkgs/mosquitto/files/mosquitto/run +++ b/srcpkgs/mosquitto/files/mosquitto/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 cd /var/lib/mosquitto exec chpst -u _mosquitto:_mosquitto mosquitto -c /etc/mosquitto/mosquitto.conf diff --git a/srcpkgs/mouseemu/files/mouseemu/run b/srcpkgs/mouseemu/files/mouseemu/run index 1ce7c17df5ea..c35e3dafba57 100644 --- a/srcpkgs/mouseemu/files/mouseemu/run +++ b/srcpkgs/mouseemu/files/mouseemu/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec mouseemu -nofork $MID_CLICK $RIGHT_CLICK $SCROLL $TYPING_BLOCK diff --git a/srcpkgs/mpDris2/files/mpDris2/run b/srcpkgs/mpDris2/files/mpDris2/run index a3cbb12868b9..2e2b4fef37d7 100644 --- a/srcpkgs/mpDris2/files/mpDris2/run +++ b/srcpkgs/mpDris2/files/mpDris2/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec mpDris2 \ No newline at end of file diff --git a/srcpkgs/mpd/files/mpd/run b/srcpkgs/mpd/files/mpd/run index bb7832c9e235..bc002d4f8507 100755 --- a/srcpkgs/mpd/files/mpd/run +++ b/srcpkgs/mpd/files/mpd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf install -d -m 0755 -o mpd -g mpd /run/mpd exec mpd --no-daemon ${OPTS:-} diff --git a/srcpkgs/mpdscribble/files/mpdscribble/run b/srcpkgs/mpdscribble/files/mpdscribble/run index 7a4243113078..29cceefca2bb 100755 --- a/srcpkgs/mpdscribble/files/mpdscribble/run +++ b/srcpkgs/mpdscribble/files/mpdscribble/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec mpdscribble --no-daemon diff --git a/srcpkgs/munge/files/munge/run b/srcpkgs/munge/files/munge/run index 9c773ca00578..4626b3ddc2ad 100644 --- a/srcpkgs/munge/files/munge/run +++ b/srcpkgs/munge/files/munge/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ ! -d /var/run/munge ]; then mkdir -m0755 -p /var/run/munge fi diff --git a/srcpkgs/musl-nscd/files/nscd/run b/srcpkgs/musl-nscd/files/nscd/run index e9ea04a19e97..53127524af2b 100755 --- a/srcpkgs/musl-nscd/files/nscd/run +++ b/srcpkgs/musl-nscd/files/nscd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf mkdir -p /var/run/nscd /var/db/nscd exec nscd -F ${OPTS} >/dev/null diff --git a/srcpkgs/nbd/files/nbd/run b/srcpkgs/nbd/files/nbd/run index e4179d3e861d..ba721e5ea19b 100644 --- a/srcpkgs/nbd/files/nbd/run +++ b/srcpkgs/nbd/files/nbd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec nbd-server -d 2>&1 diff --git a/srcpkgs/ndhc/files/ndhc/run b/srcpkgs/ndhc/files/ndhc/run index 93a73882002f..7302ad0b9275 100755 --- a/srcpkgs/ndhc/files/ndhc/run +++ b/srcpkgs/ndhc/files/ndhc/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec ndhc -R /etc/resolv.conf -u ndhc -U ndhc -D ndhc -C /var/lib/ndhc/jail -s /var/lib/ndhc/state ${OPTS:=-i eth0} 2>&1 diff --git a/srcpkgs/ndppd/files/ndppd/run b/srcpkgs/ndppd/files/ndppd/run index 6c36352ecd37..2fcc394d3bec 100755 --- a/srcpkgs/ndppd/files/ndppd/run +++ b/srcpkgs/ndppd/files/ndppd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec ndppd -v diff --git a/srcpkgs/neard/files/neard/run b/srcpkgs/neard/files/neard/run index e26e7c0279c1..c1e1562afc2d 100644 --- a/srcpkgs/neard/files/neard/run +++ b/srcpkgs/neard/files/neard/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 [ -r conf ] && . ./conf exec /usr/libexec/nfc/neard --nodaemon ${OPTS} diff --git a/srcpkgs/neard/files/seeld/run b/srcpkgs/neard/files/seeld/run index 22790b957346..5c6a37eff096 100644 --- a/srcpkgs/neard/files/seeld/run +++ b/srcpkgs/neard/files/seeld/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 [ -r conf ] && . ./conf exec /usr/libexec/nfc/seeld --nodaemon ${OPTS} diff --git a/srcpkgs/net-snmp/files/snmpd/run b/srcpkgs/net-snmp/files/snmpd/run index bcb7b2004baa..13fafd7f2d89 100755 --- a/srcpkgs/net-snmp/files/snmpd/run +++ b/srcpkgs/net-snmp/files/snmpd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec snmpd -f -Lo $OPTS diff --git a/srcpkgs/netdata/files/netdata/run b/srcpkgs/netdata/files/netdata/run index a4c76948b16c..21bf679cf574 100644 --- a/srcpkgs/netdata/files/netdata/run +++ b/srcpkgs/netdata/files/netdata/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _netdata:_netdata netdata -D diff --git a/srcpkgs/network-ups-tools/files/upsd/run b/srcpkgs/network-ups-tools/files/upsd/run index 53d9ba24a605..5a97d7e27c04 100755 --- a/srcpkgs/network-ups-tools/files/upsd/run +++ b/srcpkgs/network-ups-tools/files/upsd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Network UPS Tools - information server # upsd will run in the foreground and prints information on stdout install -d -m 0770 -o nut -g nut /run/ups diff --git a/srcpkgs/network-ups-tools/files/upsdrvctl/run b/srcpkgs/network-ups-tools/files/upsdrvctl/run index aab0bcc121fa..343c516e8ffa 100755 --- a/srcpkgs/network-ups-tools/files/upsdrvctl/run +++ b/srcpkgs/network-ups-tools/files/upsdrvctl/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Network UPS Tools - driver controller install -d -m 0770 -o nut -g nut /run/ups upsdrvctl -D start diff --git a/srcpkgs/network-ups-tools/files/upsmon/run b/srcpkgs/network-ups-tools/files/upsmon/run index 714030cae547..b83cc7f335cf 100755 --- a/srcpkgs/network-ups-tools/files/upsmon/run +++ b/srcpkgs/network-ups-tools/files/upsmon/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Network UPS Tools - monitor and shutdown controller # upsmon will run in the foreground and prints information on stdout exec upsmon -D diff --git a/srcpkgs/nfs-utils/files/nfs-server/run b/srcpkgs/nfs-utils/files/nfs-server/run index 74ce0477fb75..b7ed2aa45fdf 100755 --- a/srcpkgs/nfs-utils/files/nfs-server/run +++ b/srcpkgs/nfs-utils/files/nfs-server/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the statd service is running. sv check statd >/dev/null || exit 1 diff --git a/srcpkgs/nfs-utils/files/rpcblkmapd/run b/srcpkgs/nfs-utils/files/rpcblkmapd/run index 2acd9074ac80..269e72f9323e 100755 --- a/srcpkgs/nfs-utils/files/rpcblkmapd/run +++ b/srcpkgs/nfs-utils/files/rpcblkmapd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the portmap service is running. sv check rpcbind >/dev/null || exit 1 diff --git a/srcpkgs/nfs-utils/files/rpcgssd/run b/srcpkgs/nfs-utils/files/rpcgssd/run index 439406037c25..1bd5c98a4a35 100755 --- a/srcpkgs/nfs-utils/files/rpcgssd/run +++ b/srcpkgs/nfs-utils/files/rpcgssd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the portmap service is running. sv check rpcbind >/dev/null || exit 1 diff --git a/srcpkgs/nfs-utils/files/rpcidmapd/run b/srcpkgs/nfs-utils/files/rpcidmapd/run index 5f75973d1439..f683b7a1ffac 100755 --- a/srcpkgs/nfs-utils/files/rpcidmapd/run +++ b/srcpkgs/nfs-utils/files/rpcidmapd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the portmap service is running. sv check rpcbind >/dev/null || exit 1 diff --git a/srcpkgs/nfs-utils/files/rpcsvcgssd/run b/srcpkgs/nfs-utils/files/rpcsvcgssd/run index c751c60d051d..92be0858a7af 100755 --- a/srcpkgs/nfs-utils/files/rpcsvcgssd/run +++ b/srcpkgs/nfs-utils/files/rpcsvcgssd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the portmap service is running. sv check rpcbind >/dev/null || exit 1 diff --git a/srcpkgs/nfs-utils/files/statd/run b/srcpkgs/nfs-utils/files/statd/run index 66900a3b4d9f..e2abb38aed87 100755 --- a/srcpkgs/nfs-utils/files/statd/run +++ b/srcpkgs/nfs-utils/files/statd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Make sure the portmap service is running. sv check rpcbind >/dev/null || exit 1 diff --git a/srcpkgs/nftables/files/nftables/run b/srcpkgs/nftables/files/nftables/run index c8425d3753e3..fd385435a791 100644 --- a/srcpkgs/nftables/files/nftables/run +++ b/srcpkgs/nftables/files/nftables/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -r /etc/nftables.conf ] && exit 0 nft -f /etc/nftables.conf exec chpst -b nftables pause diff --git a/srcpkgs/ngetty/files/ngetty/run b/srcpkgs/ngetty/files/ngetty/run index c68e80737f30..e8fa81e6ff50 100755 --- a/srcpkgs/ngetty/files/ngetty/run +++ b/srcpkgs/ngetty/files/ngetty/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export TERM=linux [ -r conf ] && . ./conf exec ngetty ${OPTS:=tty1 tty2 tty3 tty4 tty5 tty6} diff --git a/srcpkgs/nginx/files/nginx/run b/srcpkgs/nginx/files/nginx/run index 05e9182e4f79..60a3d2e30ca9 100755 --- a/srcpkgs/nginx/files/nginx/run +++ b/srcpkgs/nginx/files/nginx/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec nginx -g 'daemon off;' diff --git a/srcpkgs/ngircd/files/ngircd/run b/srcpkgs/ngircd/files/ngircd/run index 253a0cdd3e72..19e4b8425294 100755 --- a/srcpkgs/ngircd/files/ngircd/run +++ b/srcpkgs/ngircd/files/ngircd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ngircd -n diff --git a/srcpkgs/nix/files/nix-daemon/run b/srcpkgs/nix/files/nix-daemon/run index 4c277b2113ce..052cf9d45a8d 100644 --- a/srcpkgs/nix/files/nix-daemon/run +++ b/srcpkgs/nix/files/nix-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec nix-daemon diff --git a/srcpkgs/node_exporter/files/node_exporter/run b/srcpkgs/node_exporter/files/node_exporter/run index add864b742a2..5e06fc33bbe9 100755 --- a/srcpkgs/node_exporter/files/node_exporter/run +++ b/srcpkgs/node_exporter/files/node_exporter/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Add $ARGS for more arguments to node_exporter [ -f ./conf ] && . ./conf diff --git a/srcpkgs/nodm/files/nodm/run b/srcpkgs/nodm/files/nodm/run index d43bfc7689bd..065c0208dfb7 100644 --- a/srcpkgs/nodm/files/nodm/run +++ b/srcpkgs/nodm/files/nodm/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf export NODM_USER NODM_X_OPTIONS NODM_MIN_SESSION_TIME NODM_XSESSION exec nodm 1>&2 diff --git a/srcpkgs/noip2/files/noip2/run b/srcpkgs/noip2/files/noip2/run index 1ae24f2a5686..6f4adc8cbd25 100755 --- a/srcpkgs/noip2/files/noip2/run +++ b/srcpkgs/noip2/files/noip2/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec noip2 -f diff --git a/srcpkgs/nrpe/files/nrpe/run b/srcpkgs/nrpe/files/nrpe/run index 72612cf68aaf..704b91a68631 100644 --- a/srcpkgs/nrpe/files/nrpe/run +++ b/srcpkgs/nrpe/files/nrpe/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec nrpe --no-forking --config=/etc/nagios/nrpe.cfg 2>&1 diff --git a/srcpkgs/nsd/files/nsd/run b/srcpkgs/nsd/files/nsd/run index a4c8172a7972..abfea3728fd3 100755 --- a/srcpkgs/nsd/files/nsd/run +++ b/srcpkgs/nsd/files/nsd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m 0755 -o nsd -g nsd /run/nsd exec nsd -d 2>/dev/null diff --git a/srcpkgs/nss-pam-ldapd/files/nslcd/run b/srcpkgs/nss-pam-ldapd/files/nslcd/run index f3fdc75a7e0f..c17fecb4e4af 100755 --- a/srcpkgs/nss-pam-ldapd/files/nslcd/run +++ b/srcpkgs/nss-pam-ldapd/files/nslcd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 mkdir -p /var/run/nslcd chown nslcd:nslcd /var/run/nslcd exec chpst -u nslcd:nslcd nslcd -n diff --git a/srcpkgs/ntp/files/isc-ntpd/run b/srcpkgs/ntp/files/isc-ntpd/run index 84db62b851d7..62be4031a8d5 100755 --- a/srcpkgs/ntp/files/isc-ntpd/run +++ b/srcpkgs/ntp/files/isc-ntpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec isc-ntpd -g -u ntpd:ntpd -n >/dev/null 2>&1 diff --git a/srcpkgs/nullmailer/files/nullmailer/run b/srcpkgs/nullmailer/files/nullmailer/run index 2c3bc8aea0cc..9b893b27ba38 100644 --- a/srcpkgs/nullmailer/files/nullmailer/run +++ b/srcpkgs/nullmailer/files/nullmailer/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _nullmail nullmailer-send 2>&1 diff --git a/srcpkgs/nvidia/files/nvidia-powerd/run b/srcpkgs/nvidia/files/nvidia-powerd/run index 8fe7540cce5e..caffb87562e2 100644 --- a/srcpkgs/nvidia/files/nvidia-powerd/run +++ b/srcpkgs/nvidia/files/nvidia-powerd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/nvidia-powerd diff --git a/srcpkgs/nxt/files/nxt-tor/run b/srcpkgs/nxt/files/nxt-tor/run index 7f4032c1bd56..c14f448c4950 100644 --- a/srcpkgs/nxt/files/nxt-tor/run +++ b/srcpkgs/nxt/files/nxt-tor/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check tor >/dev/null || exit 1 exec nxt-tor > /dev/null diff --git a/srcpkgs/nxt/files/nxt/run b/srcpkgs/nxt/files/nxt/run index 2ffc87eaf557..a3479cc97b11 100644 --- a/srcpkgs/nxt/files/nxt/run +++ b/srcpkgs/nxt/files/nxt/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec nxt > /dev/null diff --git a/srcpkgs/odroid-u2-base/files/odroid-led/run b/srcpkgs/odroid-u2-base/files/odroid-led/run index a1ecf5f2b23d..0cea18182b7d 100755 --- a/srcpkgs/odroid-u2-base/files/odroid-led/run +++ b/srcpkgs/odroid-u2-base/files/odroid-led/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e odroid-led exec chpst -b odroid-led pause diff --git a/srcpkgs/ofono/files/ofonod/run b/srcpkgs/ofono/files/ofonod/run index 6bee7b3120c2..22352555a79d 100644 --- a/srcpkgs/ofono/files/ofonod/run +++ b/srcpkgs/ofono/files/ofonod/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ofonod -n diff --git a/srcpkgs/oidentd/files/oidentd/run b/srcpkgs/oidentd/files/oidentd/run index 3d816c5ebfde..71e3d01b68fa 100644 --- a/srcpkgs/oidentd/files/oidentd/run +++ b/srcpkgs/oidentd/files/oidentd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec oidentd -i ${OPTS:=-u nobody -g nogroup} diff --git a/srcpkgs/olsrd/files/olsrd/run b/srcpkgs/olsrd/files/olsrd/run index 098fa489691f..b769fb94bf59 100755 --- a/srcpkgs/olsrd/files/olsrd/run +++ b/srcpkgs/olsrd/files/olsrd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec olsrd -nofork -f /etc/olsrd.conf diff --git a/srcpkgs/open-vm-tools/files/vmtoolsd/run b/srcpkgs/open-vm-tools/files/vmtoolsd/run index 302a6314bc33..59a49c394220 100644 --- a/srcpkgs/open-vm-tools/files/vmtoolsd/run +++ b/srcpkgs/open-vm-tools/files/vmtoolsd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e diff --git a/srcpkgs/open-vm-tools/files/vmware-vmblock-fuse/run b/srcpkgs/open-vm-tools/files/vmware-vmblock-fuse/run index b0a5cc121b90..2a4cb82fe3eb 100644 --- a/srcpkgs/open-vm-tools/files/vmware-vmblock-fuse/run +++ b/srcpkgs/open-vm-tools/files/vmware-vmblock-fuse/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e diff --git a/srcpkgs/opendkim/files/opendkim/run b/srcpkgs/opendkim/files/opendkim/run index 644eaac43a88..3c875f777b5e 100644 --- a/srcpkgs/opendkim/files/opendkim/run +++ b/srcpkgs/opendkim/files/opendkim/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec opendkim -f ${OPTS} diff --git a/srcpkgs/openntpd/files/openntpd/run b/srcpkgs/openntpd/files/openntpd/run index 864c0eb418fa..1751437488e6 100644 --- a/srcpkgs/openntpd/files/openntpd/run +++ b/srcpkgs/openntpd/files/openntpd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec openntpd -d ${OPTS} 2>&1 diff --git a/srcpkgs/openrgb/files/openrgb/run b/srcpkgs/openrgb/files/openrgb/run index 6bbee3483bd2..ee3712b755cc 100644 --- a/srcpkgs/openrgb/files/openrgb/run +++ b/srcpkgs/openrgb/files/openrgb/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec openrgb --server 2>&1 diff --git a/srcpkgs/opensmtpd/files/opensmtpd/run b/srcpkgs/opensmtpd/files/opensmtpd/run index 68ecaeadebcf..3f67c4e01566 100755 --- a/srcpkgs/opensmtpd/files/opensmtpd/run +++ b/srcpkgs/opensmtpd/files/opensmtpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec smtpd -F 2>&1 diff --git a/srcpkgs/openssh/files/sshd/run b/srcpkgs/openssh/files/sshd/run index b5e744a6fa85..a3594373b6d6 100755 --- a/srcpkgs/openssh/files/sshd/run +++ b/srcpkgs/openssh/files/sshd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 ssh-keygen -A >/dev/null 2>&1 # Will generate host keys if they don't already exist [ -r conf ] && . ./conf exec /usr/bin/sshd -D $OPTS diff --git a/srcpkgs/openvswitch/files/ovs-vswitchd/run b/srcpkgs/openvswitch/files/ovs-vswitchd/run index a0a6c98f997f..499795d53afd 100755 --- a/srcpkgs/openvswitch/files/ovs-vswitchd/run +++ b/srcpkgs/openvswitch/files/ovs-vswitchd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 modprobe -q openvswitch || exit 1 sv check ovsdb-server >/dev/null || exit 1 install -d /run/openvswitch diff --git a/srcpkgs/openvswitch/files/ovsdb-server/run b/srcpkgs/openvswitch/files/ovsdb-server/run index 36528368a4d0..cf8947a8578b 100755 --- a/srcpkgs/openvswitch/files/ovsdb-server/run +++ b/srcpkgs/openvswitch/files/ovsdb-server/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ ! -f /etc/openvswitch/conf.db ]; then install -d /etc/openvswitch ovsdb-tool create /etc/openvswitch/conf.db /usr/share/openvswitch/vswitch.ovsschema || exit 1 diff --git a/srcpkgs/parpd/files/parpd/run b/srcpkgs/parpd/files/parpd/run index 029dfdac68dd..e5b5c3373648 100644 --- a/srcpkgs/parpd/files/parpd/run +++ b/srcpkgs/parpd/files/parpd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec parpd ${OPTS:=-fl} 1>&2 diff --git a/srcpkgs/parprouted/files/parprouted/run b/srcpkgs/parprouted/files/parprouted/run index 0029ad4590d0..2d835aef20a8 100644 --- a/srcpkgs/parprouted/files/parprouted/run +++ b/srcpkgs/parprouted/files/parprouted/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec parprouted ${OPTS} diff --git a/srcpkgs/pbbuttonsd/files/pbbuttonsd/run b/srcpkgs/pbbuttonsd/files/pbbuttonsd/run index 7acfdb354bb2..1dfcb9944494 100644 --- a/srcpkgs/pbbuttonsd/files/pbbuttonsd/run +++ b/srcpkgs/pbbuttonsd/files/pbbuttonsd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec pbbuttonsd --configfile=${CONF:=/etc/pbbuttonsd.cnf} ${OPTS} diff --git a/srcpkgs/pcsclite/files/pcscd/run b/srcpkgs/pcsclite/files/pcscd/run index 99c662d6ebf2..6ae35a3c76ab 100755 --- a/srcpkgs/pcsclite/files/pcscd/run +++ b/srcpkgs/pcsclite/files/pcscd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec pcscd -f diff --git a/srcpkgs/pd-mapper/files/pd-mapper/run b/srcpkgs/pd-mapper/files/pd-mapper/run index b641f486507f..a0999e86c354 100644 --- a/srcpkgs/pd-mapper/files/pd-mapper/run +++ b/srcpkgs/pd-mapper/files/pd-mapper/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec pd-mapper $OPTS diff --git a/srcpkgs/php/files/php-fpm/run b/srcpkgs/php/files/php-fpm/run index c9c75b0498aa..98c6bdd9411d 100755 --- a/srcpkgs/php/files/php-fpm/run +++ b/srcpkgs/php/files/php-fpm/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec php-fpm --nodaemonize diff --git a/srcpkgs/php8.0/files/php-fpm8.0/run b/srcpkgs/php8.0/files/php-fpm8.0/run index f1c712335ab8..9d61e0035983 100755 --- a/srcpkgs/php8.0/files/php-fpm8.0/run +++ b/srcpkgs/php8.0/files/php-fpm8.0/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec php-fpm8.0 --nodaemonize ${OPTS} diff --git a/srcpkgs/php8.1/files/php-fpm8.1/run b/srcpkgs/php8.1/files/php-fpm8.1/run index 5928ea5103ef..ddc4298cece4 100755 --- a/srcpkgs/php8.1/files/php-fpm8.1/run +++ b/srcpkgs/php8.1/files/php-fpm8.1/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec php-fpm8.1 --nodaemonize ${OPTS} diff --git a/srcpkgs/pipewire/files/pipewire-pulse/run b/srcpkgs/pipewire/files/pipewire-pulse/run index ea0520e44cd2..6eb172b8b19f 100644 --- a/srcpkgs/pipewire/files/pipewire-pulse/run +++ b/srcpkgs/pipewire/files/pipewire-pulse/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # this service is experimental and most setups should start pipewire as a user, # for further information, please refer to the handbook ! [ -d /run/pulse ] && install -m 755 -g _pipewire -o _pipewire -d /run/pulse diff --git a/srcpkgs/pipewire/files/pipewire/run b/srcpkgs/pipewire/files/pipewire/run index 9cd2c21f53d0..a201626e464d 100644 --- a/srcpkgs/pipewire/files/pipewire/run +++ b/srcpkgs/pipewire/files/pipewire/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # this service is experimental and most setups should start pipewire as a user, # for further information, please refer to the handbook ! [ -d /run/pipewire ] && install -m 755 -g _pipewire -o _pipewire -d /run/pipewire diff --git a/srcpkgs/podman/files/podman-docker/run b/srcpkgs/podman/files/podman-docker/run index 3125a4f89ed9..8a3a5623b5eb 100755 --- a/srcpkgs/podman/files/podman-docker/run +++ b/srcpkgs/podman/files/podman-docker/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 ln -sf /run/podman/podman.sock /run/docker.sock exec chpst -b podman-docker pause diff --git a/srcpkgs/podman/files/podman/run b/srcpkgs/podman/files/podman/run index 8eb8f41752e4..6e0ba966badb 100755 --- a/srcpkgs/podman/files/podman/run +++ b/srcpkgs/podman/files/podman/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec podman --log-level info system service ${OPTS:---time=0} 2>&1 diff --git a/srcpkgs/polipo/files/polipo/run b/srcpkgs/polipo/files/polipo/run index 2380d40ebf14..64ce07ee6083 100755 --- a/srcpkgs/polipo/files/polipo/run +++ b/srcpkgs/polipo/files/polipo/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u nobody polipo diff --git a/srcpkgs/polkit/files/polkitd/run b/srcpkgs/polkit/files/polkitd/run index c175cba6f95b..9d69121096eb 100644 --- a/srcpkgs/polkit/files/polkitd/run +++ b/srcpkgs/polkit/files/polkitd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/lib/polkit-1/polkitd --no-debug diff --git a/srcpkgs/postfix/files/postfix/run b/srcpkgs/postfix/files/postfix/run index 38688bb5f46b..a0f0db57742d 100755 --- a/srcpkgs/postfix/files/postfix/run +++ b/srcpkgs/postfix/files/postfix/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 postfix check || exit 1 exec /usr/libexec/postfix/master -d diff --git a/srcpkgs/postgresql14/files/postgresql14/run b/srcpkgs/postgresql14/files/postgresql14/run index 3aee9440e847..1da79920625d 100755 --- a/srcpkgs/postgresql14/files/postgresql14/run +++ b/srcpkgs/postgresql14/files/postgresql14/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 . /etc/psql@VERSION@/default/postgresql : ${PGDATA:="$PGROOT/data"} diff --git a/srcpkgs/postgresql15/files/postgresql15/run b/srcpkgs/postgresql15/files/postgresql15/run index 3aee9440e847..1da79920625d 100755 --- a/srcpkgs/postgresql15/files/postgresql15/run +++ b/srcpkgs/postgresql15/files/postgresql15/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 . /etc/psql@VERSION@/default/postgresql : ${PGDATA:="$PGROOT/data"} diff --git a/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run b/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run index d34cc6b20a29..c5dc3f90c28a 100644 --- a/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run +++ b/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/libexec/power-profiles-daemon diff --git a/srcpkgs/privoxy/files/privoxy/run b/srcpkgs/privoxy/files/privoxy/run index 120ca2ad62b6..e656efaaec5a 100755 --- a/srcpkgs/privoxy/files/privoxy/run +++ b/srcpkgs/privoxy/files/privoxy/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u privoxy:privoxy privoxy --no-daemon /etc/privoxy/config 2>&1 diff --git a/srcpkgs/prometheus/files/prometheus/run b/srcpkgs/prometheus/files/prometheus/run index 8311d78552f1..1d72db840ff3 100755 --- a/srcpkgs/prometheus/files/prometheus/run +++ b/srcpkgs/prometheus/files/prometheus/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -f ./conf ] && . ./conf diff --git a/srcpkgs/prosody/files/prosody/run b/srcpkgs/prosody/files/prosody/run index 2173db0113a4..e302e315d867 100644 --- a/srcpkgs/prosody/files/prosody/run +++ b/srcpkgs/prosody/files/prosody/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 mkdir -p /run/prosody chown prosody:prosody /run/prosody exec chpst -u prosody:prosody prosody diff --git a/srcpkgs/pulseaudio/files/pulseaudio/run b/srcpkgs/pulseaudio/files/pulseaudio/run index afbf4517ecb2..16cbde6922a4 100644 --- a/srcpkgs/pulseaudio/files/pulseaudio/run +++ b/srcpkgs/pulseaudio/files/pulseaudio/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec pulseaudio --system diff --git a/srcpkgs/qemu/files/qemu-ga/run b/srcpkgs/qemu/files/qemu-ga/run index 4db20bf91c10..8ba5ef665e62 100755 --- a/srcpkgs/qemu/files/qemu-ga/run +++ b/srcpkgs/qemu/files/qemu-ga/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec qemu-ga ${OPTS} diff --git a/srcpkgs/qrtr-ns/files/qrtr-ns/run b/srcpkgs/qrtr-ns/files/qrtr-ns/run index 7ce1340960cf..adb7ecb718c5 100644 --- a/srcpkgs/qrtr-ns/files/qrtr-ns/run +++ b/srcpkgs/qrtr-ns/files/qrtr-ns/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf : ${OPTS:=-f 1} exec qrtr-ns $OPTS diff --git a/srcpkgs/quassel/files/quasselcore/run b/srcpkgs/quassel/files/quasselcore/run index f30e57eef930..b467f3e7f3b9 100644 --- a/srcpkgs/quassel/files/quasselcore/run +++ b/srcpkgs/quassel/files/quasselcore/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec chpst -u quassel quasselcore \ ${OPTS:=--require-ssl --configdir=/var/lib/quassel --logfile=/var/log/quassel/quasselcore.log} diff --git a/srcpkgs/radeon-profile-daemon/files/radeon-profile-daemon/run b/srcpkgs/radeon-profile-daemon/files/radeon-profile-daemon/run index 893de235871e..1a278cdfa603 100755 --- a/srcpkgs/radeon-profile-daemon/files/radeon-profile-daemon/run +++ b/srcpkgs/radeon-profile-daemon/files/radeon-profile-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec radeon-profile-daemon diff --git a/srcpkgs/radvd/files/radvd/run b/srcpkgs/radvd/files/radvd/run index 6ab3d099cfcb..d8d528b96bb8 100755 --- a/srcpkgs/radvd/files/radvd/run +++ b/srcpkgs/radvd/files/radvd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec radvd --nodaemon --logmethod=syslog diff --git a/srcpkgs/redis/files/redis/run b/srcpkgs/redis/files/redis/run index 9ce7366eb70f..71811fafe274 100644 --- a/srcpkgs/redis/files/redis/run +++ b/srcpkgs/redis/files/redis/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m0750 -o redis -g redis /run/redis exec chpst -u redis:redis redis-server /etc/redis/redis.conf > /dev/null diff --git a/srcpkgs/rest-server/files/rest-server/run b/srcpkgs/rest-server/files/rest-server/run index 2a78f5b0bcd1..251a52fde62b 100644 --- a/srcpkgs/rest-server/files/rest-server/run +++ b/srcpkgs/rest-server/files/rest-server/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 . /etc/default/rest-server exec chpst -u _restserver:_restserver rest-server --path $DATA_DIRECTORY $OPTIONS diff --git a/srcpkgs/rmilter/files/rmilter/run b/srcpkgs/rmilter/files/rmilter/run index 0cc86694d91a..ca901effb2e5 100755 --- a/srcpkgs/rmilter/files/rmilter/run +++ b/srcpkgs/rmilter/files/rmilter/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf : ${RMILTERUSER:=rmilter} : ${RMILTERGROUP:=rmilter} diff --git a/srcpkgs/rmtfs/files/rmtfs/run b/srcpkgs/rmtfs/files/rmtfs/run index b3e939935e36..a84d5097a23c 100644 --- a/srcpkgs/rmtfs/files/rmtfs/run +++ b/srcpkgs/rmtfs/files/rmtfs/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf : ${OPTS:=-r -P -s} exec rmtfs $OPTS diff --git a/srcpkgs/rng-tools/files/rngd/run b/srcpkgs/rng-tools/files/rngd/run index dbccf991524a..9595d0341815 100644 --- a/srcpkgs/rng-tools/files/rngd/run +++ b/srcpkgs/rng-tools/files/rngd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 RNGD_OPTS="" [ -r conf ] && . ./conf diff --git a/srcpkgs/routinator/files/routinator/run b/srcpkgs/routinator/files/routinator/run index bbc2c493935e..6b0a70ea20cb 100755 --- a/srcpkgs/routinator/files/routinator/run +++ b/srcpkgs/routinator/files/routinator/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec routinator --config ${CONF_FILE:-/etc/routinator/routinator.conf} server --user=_routinator --group=_routinator $OPTS 2>&1 diff --git a/srcpkgs/rpcbind/files/rpcbind/run b/srcpkgs/rpcbind/files/rpcbind/run index 65fab4dec968..81a0b3546fba 100755 --- a/srcpkgs/rpcbind/files/rpcbind/run +++ b/srcpkgs/rpcbind/files/rpcbind/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec rpcbind -f diff --git a/srcpkgs/rspamd/files/rspamd/run b/srcpkgs/rspamd/files/rspamd/run index eba167ab713a..592faf0e1b55 100755 --- a/srcpkgs/rspamd/files/rspamd/run +++ b/srcpkgs/rspamd/files/rspamd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf : ${RSPAMDUSER:=rspamd} : ${RSPAMDGROUP:=rspamd} diff --git a/srcpkgs/rsync/files/rsyncd/run b/srcpkgs/rsync/files/rsyncd/run index 5a7d49576d54..69a101f2346c 100644 --- a/srcpkgs/rsync/files/rsyncd/run +++ b/srcpkgs/rsync/files/rsyncd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ ! -e /etc/rsyncd.conf ] && exit 1 exec rsync --daemon --no-detach diff --git a/srcpkgs/rsyslog/files/rsyslogd/run b/srcpkgs/rsyslog/files/rsyslogd/run index 30d94a83f174..b94722eaed81 100755 --- a/srcpkgs/rsyslog/files/rsyslogd/run +++ b/srcpkgs/rsyslog/files/rsyslogd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec rsyslogd -n diff --git a/srcpkgs/rtkit/files/rtkit/run b/srcpkgs/rtkit/files/rtkit/run index 1fe14134187f..b5418e9c563f 100644 --- a/srcpkgs/rtkit/files/rtkit/run +++ b/srcpkgs/rtkit/files/rtkit/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/libexec/rtkit-daemon diff --git a/srcpkgs/salt/files/salt-api/run b/srcpkgs/salt/files/salt-api/run index 0748970d6a48..0a8ced51bb2b 100755 --- a/srcpkgs/salt/files/salt-api/run +++ b/srcpkgs/salt/files/salt-api/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec salt-api diff --git a/srcpkgs/salt/files/salt-master/run b/srcpkgs/salt/files/salt-master/run index 928cc01797c3..64411f2c330a 100755 --- a/srcpkgs/salt/files/salt-master/run +++ b/srcpkgs/salt/files/salt-master/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec salt-master diff --git a/srcpkgs/salt/files/salt-minion/run b/srcpkgs/salt/files/salt-minion/run index e9b71afc37d3..fd923cb2be0c 100755 --- a/srcpkgs/salt/files/salt-minion/run +++ b/srcpkgs/salt/files/salt-minion/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec salt-minion diff --git a/srcpkgs/salt/files/salt-syndic/run b/srcpkgs/salt/files/salt-syndic/run index 80950effa664..6c2dc7be432a 100755 --- a/srcpkgs/salt/files/salt-syndic/run +++ b/srcpkgs/salt/files/salt-syndic/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec salt-syndic diff --git a/srcpkgs/samba/files/ctdbd/run b/srcpkgs/samba/files/ctdbd/run index f93d43eb8625..2f57f789c5b3 100644 --- a/srcpkgs/samba/files/ctdbd/run +++ b/srcpkgs/samba/files/ctdbd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ctdbd -i diff --git a/srcpkgs/sane/files/saned/run b/srcpkgs/sane/files/saned/run index 18016ad066c4..61d1060f02c1 100644 --- a/srcpkgs/sane/files/saned/run +++ b/srcpkgs/sane/files/saned/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec saned -l -u _saned ${OPTS} diff --git a/srcpkgs/scron/files/scron/run b/srcpkgs/scron/files/scron/run index cbfe72951a8e..428d84713de8 100755 --- a/srcpkgs/scron/files/scron/run +++ b/srcpkgs/scron/files/scron/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec scrond -n 2>&1 diff --git a/srcpkgs/sddm/files/sddm/run b/srcpkgs/sddm/files/sddm/run index 0ac2a2a4545e..3a5dc6ca58cc 100644 --- a/srcpkgs/sddm/files/sddm/run +++ b/srcpkgs/sddm/files/sddm/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e sv check dbus >/dev/null || exit 1 diff --git a/srcpkgs/seatd/files/seatd/run b/srcpkgs/seatd/files/seatd/run index a7cf1b48a364..0b82b4c3d90a 100644 --- a/srcpkgs/seatd/files/seatd/run +++ b/srcpkgs/seatd/files/seatd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/seatd -g _seatd diff --git a/srcpkgs/sftpgo/files/sftpgo/run b/srcpkgs/sftpgo/files/sftpgo/run index f35ca0281a55..d63f66a22082 100755 --- a/srcpkgs/sftpgo/files/sftpgo/run +++ b/srcpkgs/sftpgo/files/sftpgo/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export SFTPGO_HTTPD__TEMPLATES_PATH=/usr/share/sftpgo/templates export SFTPGO_HTTPD__STATIC_FILES_PATH=/usr/share/sftpgo/static diff --git a/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-client/run b/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-client/run index 846ca47cf976..598b92a2da69 100755 --- a/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-client/run +++ b/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-client/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u shadowsocks:shadowsocks ss-local -c /etc/shadowsocks-libev/config.json 1>/dev/null diff --git a/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-server/run b/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-server/run index 0fd1074671c1..671538434cc8 100755 --- a/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-server/run +++ b/srcpkgs/shadowsocks-libev/files/shadowsocks-libev-server/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u shadowsocks:shadowsocks ss-server -c /etc/shadowsocks-libev/config.json 1>/dev/null diff --git a/srcpkgs/shinit/files/shinit/run b/srcpkgs/shinit/files/shinit/run index f51d6a9e2caf..457a241c2397 100644 --- a/srcpkgs/shinit/files/shinit/run +++ b/srcpkgs/shinit/files/shinit/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 export SHINIT_USER=void diff --git a/srcpkgs/shiori/files/shiori/run b/srcpkgs/shiori/files/shiori/run index 0cd56601f58d..5178f99d65c4 100644 --- a/srcpkgs/shiori/files/shiori/run +++ b/srcpkgs/shiori/files/shiori/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec chpst -u _shiori shiori serve ${OPTS="--address 127.0.0.1 --port 8080"} diff --git a/srcpkgs/shorewall/files/shorewall/run b/srcpkgs/shorewall/files/shorewall/run index 751bf5b76b8c..99473fc38a0d 100755 --- a/srcpkgs/shorewall/files/shorewall/run +++ b/srcpkgs/shorewall/files/shorewall/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e shorewall start exec chpst -b shorewall pause diff --git a/srcpkgs/shorewall/files/shorewall6/run b/srcpkgs/shorewall/files/shorewall6/run index 8c44bbb49db2..254cba9520b5 100755 --- a/srcpkgs/shorewall/files/shorewall6/run +++ b/srcpkgs/shorewall/files/shorewall6/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e shorewall6 start exec chpst -b shorewall6 pause diff --git a/srcpkgs/slim/files/slim/run b/srcpkgs/slim/files/slim/run index 765580b17635..ba62756fcc75 100755 --- a/srcpkgs/slim/files/slim/run +++ b/srcpkgs/slim/files/slim/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec slim -nodaemon diff --git a/srcpkgs/smartmontools/files/smartd/run b/srcpkgs/smartmontools/files/smartd/run index 1dc3cc9966a9..e4f00accbd77 100755 --- a/srcpkgs/smartmontools/files/smartd/run +++ b/srcpkgs/smartmontools/files/smartd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec smartd -n diff --git a/srcpkgs/smcroute/files/smcrouted/run b/srcpkgs/smcroute/files/smcrouted/run index 4fdbc56773ff..7a8a6f993cab 100755 --- a/srcpkgs/smcroute/files/smcrouted/run +++ b/srcpkgs/smcroute/files/smcrouted/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf diff --git a/srcpkgs/snapcast/files/snapclient/run b/srcpkgs/snapcast/files/snapclient/run index d39016efd43b..c5b48ce2f399 100644 --- a/srcpkgs/snapcast/files/snapclient/run +++ b/srcpkgs/snapcast/files/snapclient/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec chpst -u _snapclient:audio snapclient ${OPTS} 2>&1 diff --git a/srcpkgs/snapcast/files/snapserver/run b/srcpkgs/snapcast/files/snapserver/run index 638817b15397..cf492f7f9bda 100644 --- a/srcpkgs/snapcast/files/snapserver/run +++ b/srcpkgs/snapcast/files/snapserver/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec chpst -u _snapserver snapserver ${OPTS} 2>&1 diff --git a/srcpkgs/snapper/files/snapperd/run b/srcpkgs/snapper/files/snapperd/run index 34e9216df98b..4a1e86638e55 100755 --- a/srcpkgs/snapper/files/snapperd/run +++ b/srcpkgs/snapper/files/snapperd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec snapperd diff --git a/srcpkgs/sndio/files/sndiod/run b/srcpkgs/sndio/files/sndiod/run index 8b4bb8dc0047..622d532a2a57 100755 --- a/srcpkgs/sndio/files/sndiod/run +++ b/srcpkgs/sndio/files/sndiod/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec sndiod ${OPTS} -d 2>&1 diff --git a/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/run b/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/run index fd750fe9a45e..5c7329f4b967 100644 --- a/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/run +++ b/srcpkgs/socklog-ucspi/files/socklog-ucspi-tcp/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf diff --git a/srcpkgs/spamassassin/files/spamd/run b/srcpkgs/spamassassin/files/spamd/run index 35bc03d30f68..1c3521bdb24a 100755 --- a/srcpkgs/spamassassin/files/spamd/run +++ b/srcpkgs/spamassassin/files/spamd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf [ -d /var/lib/spamassassin ] || sa-update exec spamd ${OPTS} diff --git a/srcpkgs/spampd/files/spampd/run b/srcpkgs/spampd/files/spampd/run index 7c19ace4ea96..35cc5a0fb626 100755 --- a/srcpkgs/spampd/files/spampd/run +++ b/srcpkgs/spampd/files/spampd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec spampd --nodetach ${OPTS:=--host=127.0.0.1:10025 --relayhost=127.0.0.1:10026 --a --rh --u=_spampd --g=_spampd --maxsize=512} diff --git a/srcpkgs/spice-vdagent/files/spice-vdagentd/run b/srcpkgs/spice-vdagent/files/spice-vdagentd/run index 97f1150565dd..6139df344260 100755 --- a/srcpkgs/spice-vdagent/files/spice-vdagentd/run +++ b/srcpkgs/spice-vdagent/files/spice-vdagentd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 mkdir -p /var/run/spice-vdagentd exec /usr/bin/spice-vdagentd -x diff --git a/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/run b/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/run index aac85d39a505..5617a2444486 100755 --- a/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/run +++ b/srcpkgs/spreed-webrtc/files/spreed-webrtc-server/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _spreed_webrtc:_spreed_webrtc spreed-webrtc-server -c /etc/spreed/webrtc.conf diff --git a/srcpkgs/sqmail/files/qmail-send/run b/srcpkgs/sqmail/files/qmail-send/run index c3124c7a1890..18622e236aac 100755 --- a/srcpkgs/sqmail/files/qmail-send/run +++ b/srcpkgs/sqmail/files/qmail-send/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 if [ -f /var/qmail/control/defaultdelivery ]; then defaultdelivery=$(cat /var/qmail/control/defaultdelivery) else diff --git a/srcpkgs/sqmail/files/qmail-smtpd/run b/srcpkgs/sqmail/files/qmail-smtpd/run index c9993a14f4e0..f90ac49d17e1 100755 --- a/srcpkgs/sqmail/files/qmail-smtpd/run +++ b/srcpkgs/sqmail/files/qmail-smtpd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 QMAILU=$(id -u _qmaild) QMAILG=$(id -g _qmaild) HOSTNAME=$(hostname) diff --git a/srcpkgs/sqmail/files/qmail-smtpsd/run b/srcpkgs/sqmail/files/qmail-smtpsd/run index 8138490e142e..19aa95bfbf33 100755 --- a/srcpkgs/sqmail/files/qmail-smtpsd/run +++ b/srcpkgs/sqmail/files/qmail-smtpsd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 QMAILU=$(id -u _qmaild) QMAILG=$(id -g _qmaild) HOSTNAME=$(hostname) diff --git a/srcpkgs/sqmail/files/qmail-smtpsub/run b/srcpkgs/sqmail/files/qmail-smtpsub/run index 7c01b0a444a2..8377944c8c32 100755 --- a/srcpkgs/sqmail/files/qmail-smtpsub/run +++ b/srcpkgs/sqmail/files/qmail-smtpsub/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 QMAILU=$(id -u _qmaild) QMAILG=$(id -g _qmaild) HOSTNAME=$(hostname) diff --git a/srcpkgs/squid/files/squid/run b/srcpkgs/squid/files/squid/run index f926f8ffcb8f..fc9ebd7241fd 100644 --- a/srcpkgs/squid/files/squid/run +++ b/srcpkgs/squid/files/squid/run @@ -1,4 +1,5 @@ #!/bin/sh -e +exec 2>&1 install -o squid -g squid -m 0755 -d /var/run/squid squid -N -s -z exec squid -N -s diff --git a/srcpkgs/sshguard/files/sshguard-socklog/run b/srcpkgs/sshguard/files/sshguard-socklog/run index 746df4822ce6..4fcd23a169ac 100755 --- a/srcpkgs/sshguard/files/sshguard-socklog/run +++ b/srcpkgs/sshguard/files/sshguard-socklog/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Defaults that mabe be overridden (or erased entirely) by configuration LOGFILE="${LOGFILE:-/var/log/socklog/secure/current}" diff --git a/srcpkgs/ssl_exporter/files/ssl_exporter/run b/srcpkgs/ssl_exporter/files/ssl_exporter/run index 0c2bda6a4dab..038148e06bec 100644 --- a/srcpkgs/ssl_exporter/files/ssl_exporter/run +++ b/srcpkgs/ssl_exporter/files/ssl_exporter/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec chpst -u nobody ssl_exporter $OPTS diff --git a/srcpkgs/sslh/files/sslh/run b/srcpkgs/sslh/files/sslh/run index 18710d4f96ad..247f31341787 100644 --- a/srcpkgs/sslh/files/sslh/run +++ b/srcpkgs/sslh/files/sslh/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec sslh -f -u nobody -F/etc/sslh.cfg diff --git a/srcpkgs/sssd/files/sssd/run b/srcpkgs/sssd/files/sssd/run index 61a87edc699c..8203ac628a6d 100755 --- a/srcpkgs/sssd/files/sssd/run +++ b/srcpkgs/sssd/files/sssd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec sssd -i diff --git a/srcpkgs/strongswan/files/strongswan/run b/srcpkgs/strongswan/files/strongswan/run index 16b6a9311424..5963bb28e664 100755 --- a/srcpkgs/strongswan/files/strongswan/run +++ b/srcpkgs/strongswan/files/strongswan/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ipsec start --nofork diff --git a/srcpkgs/stubby/files/stubby/run b/srcpkgs/stubby/files/stubby/run index 2e12b92f0c34..3b819aaedc8d 100644 --- a/srcpkgs/stubby/files/stubby/run +++ b/srcpkgs/stubby/files/stubby/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _stubby:_stubby /usr/bin/stubby 2>&1 diff --git a/srcpkgs/subversion/files/svnserve/run b/srcpkgs/subversion/files/svnserve/run index 7f512e085141..aa7a1bebe59a 100755 --- a/srcpkgs/subversion/files/svnserve/run +++ b/srcpkgs/subversion/files/svnserve/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec svnserve -d --foreground $OPTS diff --git a/srcpkgs/sv-netmount/files/netmount/run b/srcpkgs/sv-netmount/files/netmount/run index 9b0f4d72f9b4..d88dd8c9a2b0 100755 --- a/srcpkgs/sv-netmount/files/netmount/run +++ b/srcpkgs/sv-netmount/files/netmount/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Load user defined variables [ -r conf ] && . ./conf diff --git a/srcpkgs/synapse/files/synapse/run b/srcpkgs/synapse/files/synapse/run index 0778d6317328..7c3277a788ec 100644 --- a/srcpkgs/synapse/files/synapse/run +++ b/srcpkgs/synapse/files/synapse/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf cd /var/lib/synapse exec chpst -u synapse:synapse synapse_homeserver -c ${CONFIG_FILE:-/etc/synapse/homeserver.yaml} diff --git a/srcpkgs/synergy/files/synergyc/run b/srcpkgs/synergy/files/synergyc/run index eed442178d7c..ee9b27041843 100755 --- a/srcpkgs/synergy/files/synergyc/run +++ b/srcpkgs/synergy/files/synergyc/run @@ -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 diff --git a/srcpkgs/synergy/files/synergys/run b/srcpkgs/synergy/files/synergys/run index 65bc0a52d76d..b1b2b5cc3f9a 100755 --- a/srcpkgs/synergy/files/synergys/run +++ b/srcpkgs/synergy/files/synergys/run @@ -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 synergys --no-daemon ${OPTS:=--restart} diff --git a/srcpkgs/telegraf/files/telegraf/run b/srcpkgs/telegraf/files/telegraf/run index bd88810c3977..2104b55469d6 100644 --- a/srcpkgs/telegraf/files/telegraf/run +++ b/srcpkgs/telegraf/files/telegraf/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec chpst -u _telegraf:_telegraf telegraf "$TELEGRAF_CONF_LINE" "$TELEGRAF_CONFDIR_LINE" 2>&1 diff --git a/srcpkgs/tftp-hpa/files/tftpd-hpa/run b/srcpkgs/tftp-hpa/files/tftpd-hpa/run index d11fba58fd66..44bef33434b8 100644 --- a/srcpkgs/tftp-hpa/files/tftpd-hpa/run +++ b/srcpkgs/tftp-hpa/files/tftpd-hpa/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf diff --git a/srcpkgs/thermald/files/thermald/run b/srcpkgs/thermald/files/thermald/run index de5b6d5c3e1e..0df85a0b8af9 100644 --- a/srcpkgs/thermald/files/thermald/run +++ b/srcpkgs/thermald/files/thermald/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec thermald --no-daemon --dbus-enable 2>&1 diff --git a/srcpkgs/thttpd/files/thttpd/run b/srcpkgs/thttpd/files/thttpd/run index 95a629aabe29..cfcb6561cfbe 100755 --- a/srcpkgs/thttpd/files/thttpd/run +++ b/srcpkgs/thttpd/files/thttpd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec thttpd -D diff --git a/srcpkgs/tinc/files/tincd/run b/srcpkgs/tinc/files/tincd/run index 21f48699717d..41650420858c 100755 --- a/srcpkgs/tinc/files/tincd/run +++ b/srcpkgs/tinc/files/tincd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec tincd -D diff --git a/srcpkgs/tinyproxy/files/tinyproxy/run b/srcpkgs/tinyproxy/files/tinyproxy/run index a065b7f4f6d8..f85cefeef110 100755 --- a/srcpkgs/tinyproxy/files/tinyproxy/run +++ b/srcpkgs/tinyproxy/files/tinyproxy/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf install -d -m 0755 -o _tinyproxy -g _tinyproxy /run/tinyproxy exec chpst -1 tinyproxy -d $OPTS diff --git a/srcpkgs/tinyssh/files/tinysshd/run b/srcpkgs/tinyssh/files/tinysshd/run index 2e382737cc31..1069860e00ff 100644 --- a/srcpkgs/tinyssh/files/tinysshd/run +++ b/srcpkgs/tinyssh/files/tinysshd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf # Override OPTS in conf. Suggested: # OPTS='-x sftp=/usr/libexec/sftp-server -l -v' diff --git a/srcpkgs/tlp/files/tlp/run b/srcpkgs/tlp/files/tlp/run index 552c2e721154..04cdebc1a3b7 100755 --- a/srcpkgs/tlp/files/tlp/run +++ b/srcpkgs/tlp/files/tlp/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 exec 1>&2 tlp init start || exit 1 exec chpst -b tlp pause diff --git a/srcpkgs/tor/files/tor/run b/srcpkgs/tor/files/tor/run index 3b6f9953376d..315befc9b063 100755 --- a/srcpkgs/tor/files/tor/run +++ b/srcpkgs/tor/files/tor/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf ulimit -n ${MAX_OPEN_FILES:-65536} exec tor ${OPTS:=--quiet} --runasdaemon 0 2>&1 diff --git a/srcpkgs/touchegg/files/touchegg/run b/srcpkgs/touchegg/files/touchegg/run index abe9b2319e3b..d85b174340b1 100755 --- a/srcpkgs/touchegg/files/touchegg/run +++ b/srcpkgs/touchegg/files/touchegg/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u _touchegg:input touchegg --daemon diff --git a/srcpkgs/toxcore/files/tox-bootstrapd/run b/srcpkgs/toxcore/files/tox-bootstrapd/run index e9acbdd6ee95..08f9d0f0d2d6 100755 --- a/srcpkgs/toxcore/files/tox-bootstrapd/run +++ b/srcpkgs/toxcore/files/tox-bootstrapd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf exec chpst -u _tox_bootstrapd tox-bootstrapd --foreground ${OPTS:-"--config=/etc/tox-bootstrapd.conf"} diff --git a/srcpkgs/transmission/files/transmission-daemon/run b/srcpkgs/transmission/files/transmission-daemon/run index 07e3935f805a..ed988af16556 100755 --- a/srcpkgs/transmission/files/transmission-daemon/run +++ b/srcpkgs/transmission/files/transmission-daemon/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u transmission:transmission transmission-daemon -f --log-error diff --git a/srcpkgs/twoftpd/files/twoftpd-anon/run b/srcpkgs/twoftpd/files/twoftpd-anon/run index 5618bd69b9a9..5e3dd2d7df6c 100755 --- a/srcpkgs/twoftpd/files/twoftpd-anon/run +++ b/srcpkgs/twoftpd/files/twoftpd-anon/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 UID=$(id -u ftp) GID=$(id -g ftp) echo $UID > ./env/UID diff --git a/srcpkgs/ufw/files/ufw/run b/srcpkgs/ufw/files/ufw/run index 41b6523de68c..174bb3fd0cb7 100755 --- a/srcpkgs/ufw/files/ufw/run +++ b/srcpkgs/ufw/files/ufw/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e /usr/lib/ufw/ufw-init start quiet exec chpst -b ufw pause diff --git a/srcpkgs/ulogd/files/ulogd/run b/srcpkgs/ulogd/files/ulogd/run index 0f7e286e6e3c..737516c9e598 100644 --- a/srcpkgs/ulogd/files/ulogd/run +++ b/srcpkgs/ulogd/files/ulogd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec ulogd -u _ulogd diff --git a/srcpkgs/unbound/files/unbound/run b/srcpkgs/unbound/files/unbound/run index 378933e6f592..8eea12be139b 100755 --- a/srcpkgs/unbound/files/unbound/run +++ b/srcpkgs/unbound/files/unbound/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec unbound -dp diff --git a/srcpkgs/upmpdcli/files/upmpdcli/run b/srcpkgs/upmpdcli/files/upmpdcli/run index 1a6b2018657d..0a728f192656 100644 --- a/srcpkgs/upmpdcli/files/upmpdcli/run +++ b/srcpkgs/upmpdcli/files/upmpdcli/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec chpst -u _upmpdcli upmpdcli ${OPTS:- -c /etc/upmpdcli.conf} 2>&1 diff --git a/srcpkgs/uptimed/files/uptimed/run b/srcpkgs/uptimed/files/uptimed/run index 716df87a4aa2..89c40aed17f6 100755 --- a/srcpkgs/uptimed/files/uptimed/run +++ b/srcpkgs/uptimed/files/uptimed/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec uptimed -f $OPTS diff --git a/srcpkgs/usbguard/files/usbguard/run b/srcpkgs/usbguard/files/usbguard/run index 9c33365a71e5..d5aa8b89ca66 100644 --- a/srcpkgs/usbguard/files/usbguard/run +++ b/srcpkgs/usbguard/files/usbguard/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec usbguard-daemon diff --git a/srcpkgs/usbmuxd/files/usbmuxd/run b/srcpkgs/usbmuxd/files/usbmuxd/run index 0a064839de33..4314e9e2761d 100644 --- a/srcpkgs/usbmuxd/files/usbmuxd/run +++ b/srcpkgs/usbmuxd/files/usbmuxd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec usbmuxd -f -u diff --git a/srcpkgs/util-linux/files/uuidd/run b/srcpkgs/util-linux/files/uuidd/run index bfbaa5492b34..78b1a6609d58 100755 --- a/srcpkgs/util-linux/files/uuidd/run +++ b/srcpkgs/util-linux/files/uuidd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -d /run/uuidd ] && mkdir -p /run/uuidd chown _uuidd:_uuidd /run/uuidd exec chpst -u _uuidd:_uuidd uuidd -F -P diff --git a/srcpkgs/v2ray/files/v2ray/run b/srcpkgs/v2ray/files/v2ray/run index cae39437dd15..2910b070fb90 100644 --- a/srcpkgs/v2ray/files/v2ray/run +++ b/srcpkgs/v2ray/files/v2ray/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec chpst -u _v2ray v2ray run -config=/etc/v2ray/config.json 2>&1 diff --git a/srcpkgs/varnish/files/varnishd/run b/srcpkgs/varnish/files/varnishd/run index 1f4805733942..06eb3e51e6f2 100755 --- a/srcpkgs/varnish/files/varnishd/run +++ b/srcpkgs/varnish/files/varnishd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 # Default options VARNISH_ADDR=0.0.0.0:80 diff --git a/srcpkgs/vault/files/vault/run b/srcpkgs/vault/files/vault/run index 840cc2836921..6b08c00f5c2e 100644 --- a/srcpkgs/vault/files/vault/run +++ b/srcpkgs/vault/files/vault/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 exec chpst -u _vault vault server -config=/etc/vault/ diff --git a/srcpkgs/vaultwarden/files/vaultwarden/run b/srcpkgs/vaultwarden/files/vaultwarden/run index ff5d0c6af46d..2c4beb06ee76 100644 --- a/srcpkgs/vaultwarden/files/vaultwarden/run +++ b/srcpkgs/vaultwarden/files/vaultwarden/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf ENV_FILE=${ENV_FILE:-/etc/vaultwarden.conf} export ENV_FILE diff --git a/srcpkgs/virtualbox-ose/files/vboxservice/run b/srcpkgs/virtualbox-ose/files/vboxservice/run index c3c0d94d034d..984493784030 100755 --- a/srcpkgs/virtualbox-ose/files/vboxservice/run +++ b/srcpkgs/virtualbox-ose/files/vboxservice/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 # Note: requires dbus service exec VBoxService -f diff --git a/srcpkgs/virtualbox-ose/files/vboxwebsrv/run b/srcpkgs/virtualbox-ose/files/vboxwebsrv/run index c28a700747b7..328216e4457d 100755 --- a/srcpkgs/virtualbox-ose/files/vboxwebsrv/run +++ b/srcpkgs/virtualbox-ose/files/vboxwebsrv/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check vboxservice >/dev/null || exit 1 sv check dbus >/dev/null || exit 1 exec vboxwebsrv diff --git a/srcpkgs/vnstat/files/vnstatd/run b/srcpkgs/vnstat/files/vnstatd/run index ea3a9ba02bd7..fb1228b7471c 100755 --- a/srcpkgs/vnstat/files/vnstatd/run +++ b/srcpkgs/vnstat/files/vnstatd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec vnstatd -n diff --git a/srcpkgs/vpnd/files/vpnd/run b/srcpkgs/vpnd/files/vpnd/run index 9f023775841d..9c2b90f2d193 100644 --- a/srcpkgs/vpnd/files/vpnd/run +++ b/srcpkgs/vpnd/files/vpnd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/vpnd diff --git a/srcpkgs/vsftpd/files/vsftpd-ipv6/run b/srcpkgs/vsftpd/files/vsftpd-ipv6/run index f0ca4b4d6099..b8c553af7728 100644 --- a/srcpkgs/vsftpd/files/vsftpd-ipv6/run +++ b/srcpkgs/vsftpd/files/vsftpd-ipv6/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec vsftpd -obackground=no -olisten=no -olisten_ipv6=yes ${OPTS} diff --git a/srcpkgs/vsftpd/files/vsftpd/run b/srcpkgs/vsftpd/files/vsftpd/run index 0b237d7d8c74..02e1063dc0cd 100644 --- a/srcpkgs/vsftpd/files/vsftpd/run +++ b/srcpkgs/vsftpd/files/vsftpd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec vsftpd -obackground=no ${OPTS} diff --git a/srcpkgs/watchdog/files/watchdog/run b/srcpkgs/watchdog/files/watchdog/run index a7bb2abd33c6..896685808b02 100755 --- a/srcpkgs/watchdog/files/watchdog/run +++ b/srcpkgs/watchdog/files/watchdog/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf exec watchdog -F ${OPTS} diff --git a/srcpkgs/waydroid/files/waydroid-container/run b/srcpkgs/waydroid/files/waydroid-container/run index b926f6c70305..3e44af632958 100644 --- a/srcpkgs/waydroid/files/waydroid-container/run +++ b/srcpkgs/waydroid/files/waydroid-container/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec waydroid -w container start diff --git a/srcpkgs/wesnoth/files/wesnothd/run b/srcpkgs/wesnoth/files/wesnothd/run index e32ddd006a46..b9bfeec8c3ab 100644 --- a/srcpkgs/wesnoth/files/wesnothd/run +++ b/srcpkgs/wesnoth/files/wesnothd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 mkdir -m0700 -p /run/wesnoth exec wesnothd diff --git a/srcpkgs/wicd/files/wicd/run b/srcpkgs/wicd/files/wicd/run index 5adacd074701..c88a989263cf 100755 --- a/srcpkgs/wicd/files/wicd/run +++ b/srcpkgs/wicd/files/wicd/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 sv check dbus >/dev/null || exit 1 exec chpst -1 wicd --no-daemon diff --git a/srcpkgs/wireguard-tools/files/wireguard/run b/srcpkgs/wireguard-tools/files/wireguard/run index d669d955aafa..f18d25ee1227 100755 --- a/srcpkgs/wireguard-tools/files/wireguard/run +++ b/srcpkgs/wireguard-tools/files/wireguard/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 set -e for conf in /etc/wireguard/*.conf; do diff --git a/srcpkgs/wireproxy/files/wireproxy/run b/srcpkgs/wireproxy/files/wireproxy/run index 7ba16434072e..4ee380ac48ba 100644 --- a/srcpkgs/wireproxy/files/wireproxy/run +++ b/srcpkgs/wireproxy/files/wireproxy/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r ./conf ] && . ./conf diff --git a/srcpkgs/x2goserver/files/x2gocleansessions/run b/srcpkgs/x2goserver/files/x2gocleansessions/run index f40d8b1f2b35..81041208a29d 100644 --- a/srcpkgs/x2goserver/files/x2gocleansessions/run +++ b/srcpkgs/x2goserver/files/x2gocleansessions/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec /usr/bin/x2gocleansessions --nofork diff --git a/srcpkgs/xdm/files/xdm/run b/srcpkgs/xdm/files/xdm/run index 49f1608c8b91..0dd30414122d 100755 --- a/srcpkgs/xdm/files/xdm/run +++ b/srcpkgs/xdm/files/xdm/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec xdm -error /dev/stdout -nodaemon 2>&1 diff --git a/srcpkgs/xen/files/xen/run b/srcpkgs/xen/files/xen/run index b35a945d1bec..5aff5c94a62a 100755 --- a/srcpkgs/xen/files/xen/run +++ b/srcpkgs/xen/files/xen/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check xenconsoled >/dev/null || exit 1 xenstore-write "/local/domain/0/domid" 0 || exit 1 xenstore-write "/local/domain/0/name" "Domain-0" || exit 1 diff --git a/srcpkgs/xen/files/xenconsoled/run b/srcpkgs/xen/files/xenconsoled/run index bf13989cdb95..d5dedb6c5f8c 100755 --- a/srcpkgs/xen/files/xenconsoled/run +++ b/srcpkgs/xen/files/xenconsoled/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv check xenstored >/dev/null || exit 1 mkdir -p /var/log/xen/console exec xenconsoled -i --log=all diff --git a/srcpkgs/xen/files/xenstored/run b/srcpkgs/xen/files/xenstored/run index f30d9adefaa4..6f0744726428 100755 --- a/srcpkgs/xen/files/xenstored/run +++ b/srcpkgs/xen/files/xenstored/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ ! -d /run/xen ] && mkdir -p /run/xen modprobe -q xen-evtchn xen-gnttalloc || exit 1 mountpoint -q /proc/xen || mount -t xenfs xenfs /proc/xen diff --git a/srcpkgs/xinetd/files/xinetd/run b/srcpkgs/xinetd/files/xinetd/run index 08bab8849c20..999a1283fece 100755 --- a/srcpkgs/xinetd/files/xinetd/run +++ b/srcpkgs/xinetd/files/xinetd/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec xinetd -dontfork -syslog daemon diff --git a/srcpkgs/xl2tpd/files/xl2tpd/run b/srcpkgs/xl2tpd/files/xl2tpd/run index 343575eb5988..ccdadd6a2c3f 100644 --- a/srcpkgs/xl2tpd/files/xl2tpd/run +++ b/srcpkgs/xl2tpd/files/xl2tpd/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . ./conf [ -d /var/run/xl2tpd ] || mkdir /var/run/xl2tpd exec xl2tpd -D ${OPTS:=-c /etc/xl2tpd/xl2tpd.conf} diff --git a/srcpkgs/yggdrasil/files/yggdrasil/run b/srcpkgs/yggdrasil/files/yggdrasil/run index 0c5e259b3ae5..1189f9cc02ed 100755 --- a/srcpkgs/yggdrasil/files/yggdrasil/run +++ b/srcpkgs/yggdrasil/files/yggdrasil/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 modprobe tun caps='-all,+NET_ADMIN,+NET_RAW' drop_caps="setpriv --inh-caps $caps --bounding-set $caps" diff --git a/srcpkgs/zabbix/files/zabbix-agent/run b/srcpkgs/zabbix/files/zabbix-agent/run index badcd16daa56..0fa78920beb0 100755 --- a/srcpkgs/zabbix/files/zabbix-agent/run +++ b/srcpkgs/zabbix/files/zabbix-agent/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m0750 -o _zabbix_agent -g _zabbix_agent /run/zabbix-agentd chpst -u _zabbix_agent:_zabbix_agent zabbix_agentd -f -c /etc/zabbix_agentd.conf diff --git a/srcpkgs/zabbix/files/zabbix-proxy/run b/srcpkgs/zabbix/files/zabbix-proxy/run index 5b6685de0efe..a5a3351cf5a1 100755 --- a/srcpkgs/zabbix/files/zabbix-proxy/run +++ b/srcpkgs/zabbix/files/zabbix-proxy/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m0750 -o _zabbix_proxy -g _zabbix_proxy /run/zabbix-proxy chpst -u _zabbix_proxy:_zabbix_proxy zabbix_proxy -f -c /etc/zabbix_proxy.conf diff --git a/srcpkgs/zabbix/files/zabbix-server/run b/srcpkgs/zabbix/files/zabbix-server/run index 09c7bfaa92bd..bbeb61e94660 100755 --- a/srcpkgs/zabbix/files/zabbix-server/run +++ b/srcpkgs/zabbix/files/zabbix-server/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 sv start mysqld >/dev/null || exit 1 install -d -m0750 -o _zabbix_server -g _zabbix_server /run/zabbix-server diff --git a/srcpkgs/zeek/files/bro/run b/srcpkgs/zeek/files/bro/run index 90eb6a59c0ce..3daf99573a9e 100644 --- a/srcpkgs/zeek/files/bro/run +++ b/srcpkgs/zeek/files/bro/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 BROLOGDIR="/var/log/bro" diff --git a/srcpkgs/zeek/files/zeek/run b/srcpkgs/zeek/files/zeek/run index 8d3fd5e36f21..9401eefa57ab 100644 --- a/srcpkgs/zeek/files/zeek/run +++ b/srcpkgs/zeek/files/zeek/run @@ -1,4 +1,5 @@ #!/bin/sh +exec 2>&1 ZEEKLOGDIR="/var/log/zeek" diff --git a/srcpkgs/zfs/files/zed/run b/srcpkgs/zfs/files/zed/run index 0e3c1a4f53da..63deda22b506 100755 --- a/srcpkgs/zfs/files/zed/run +++ b/srcpkgs/zfs/files/zed/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 [ -r conf ] && . conf exec zed -F $OPTS diff --git a/srcpkgs/znc/files/znc/run b/srcpkgs/znc/files/znc/run index 7f69a9a382f8..6888186ac4fd 100644 --- a/srcpkgs/znc/files/znc/run +++ b/srcpkgs/znc/files/znc/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 2>&1 exec chpst -u znc:znc znc -f -n 2>&1 diff --git a/srcpkgs/zrepl/files/zrepl/run b/srcpkgs/zrepl/files/zrepl/run index 6641430b37e9..f783e265f774 100644 --- a/srcpkgs/zrepl/files/zrepl/run +++ b/srcpkgs/zrepl/files/zrepl/run @@ -1,3 +1,4 @@ #!/bin/sh +exec 2>&1 install -d -m0700 /var/run/zrepl exec zrepl --config /etc/zrepl/zrepl.yml daemon From 95164805980a5f28d84e8db20dc88b5ac125f5ee Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 9 Feb 2023 20:04:23 -0500 Subject: [PATCH 06/10] dnscrypt-proxy: rebuild for log destination change log was previously using svlogd and putting logs in /var/log/$service, now uses vlogger. --- srcpkgs/dnscrypt-proxy/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/dnscrypt-proxy/template b/srcpkgs/dnscrypt-proxy/template index e06702e89b92..8a5a16f2d0cf 100644 --- a/srcpkgs/dnscrypt-proxy/template +++ b/srcpkgs/dnscrypt-proxy/template @@ -1,7 +1,7 @@ # Template file for 'dnscrypt-proxy' pkgname=dnscrypt-proxy version=2.1.4 -revision=1 +revision=2 build_style=go go_import_path=github.com/dnscrypt/dnscrypt-proxy go_package="${go_import_path}/dnscrypt-proxy" From 0724e2ad9b8102ddd7df80b65471930f9c679f34 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 9 Feb 2023 20:05:43 -0500 Subject: [PATCH 07/10] dq: rebuild for log destination change log was previously using svlogd and putting logs in /var/log/$service, now uses vlogger. --- srcpkgs/dq/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/dq/template b/srcpkgs/dq/template index e0d84abd1b7f..418b0d89e35d 100644 --- a/srcpkgs/dq/template +++ b/srcpkgs/dq/template @@ -1,7 +1,7 @@ # Template file for 'dq' pkgname=dq version=0.0.20230101 -revision=1 +revision=2 build_style=gnu-makefile make_dirs=" /etc/dqcache/env 0755 root root From 33b1c30906277b71f4de31781a28b7b6196e3d59 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 9 Feb 2023 20:05:47 -0500 Subject: [PATCH 08/10] radicale: rebuild for log destination change log was previously using svlogd and putting logs in /var/log/$service, now uses vlogger. --- srcpkgs/radicale/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/radicale/template b/srcpkgs/radicale/template index 62e0125da827..a6fabe065463 100644 --- a/srcpkgs/radicale/template +++ b/srcpkgs/radicale/template @@ -1,7 +1,7 @@ # Template file for 'radicale' pkgname=radicale version=3.1.8 -revision=2 +revision=3 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-vobject python3-dateutil python3-passlib python3-bcrypt From 38594e4e924b03bf79a7046823423078f61914df Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 9 Feb 2023 20:05:53 -0500 Subject: [PATCH 09/10] syncthing: rebuild for log destination change log was previously using svlogd and putting logs in /var/log/$service, now uses vlogger. --- srcpkgs/syncthing/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/syncthing/template b/srcpkgs/syncthing/template index d0e8b48205c1..1c4a6f9e9224 100644 --- a/srcpkgs/syncthing/template +++ b/srcpkgs/syncthing/template @@ -1,7 +1,7 @@ # Template file for 'syncthing' pkgname=syncthing version=1.23.1 -revision=1 +revision=2 build_style=go go_import_path="github.com/syncthing/syncthing" go_package=" From 39a9a34beeafaa1caac2e1bfdc69cf7e2d8630c3 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 9 Feb 2023 20:11:20 -0500 Subject: [PATCH 10/10] preload: rebuild for log destination change log was previously using svlogd and putting logs in /var/log/$service, now uses vlogger. --- srcpkgs/preload/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/preload/template b/srcpkgs/preload/template index e3ee614470f5..9623aed0e6eb 100644 --- a/srcpkgs/preload/template +++ b/srcpkgs/preload/template @@ -1,13 +1,13 @@ # Template file for 'preload' pkgname=preload version=0.6.4 -revision=10 +revision=11 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libglib-devel" short_desc="Adaptive readahead daemon" maintainer="bougyman " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://sourceforge.net/projects/preload" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d0a558e83cb29a51d9d96736ef39f4b4e55e43a589ad1aec594a048ca22f816b