dot

packages and services management
Log | Files | Refs | README

commit 177e350ec35271981d994d8c17e62481c95659e1
parent 1a5fca412717949e02fa18b73bb0821ddf59f4f5
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 22 Feb 2018 11:23:30 +0100

assume if not busybox, have a -d flag to not daemonize

Diffstat:
Mskel/inetd.conf | 1+
Msv/inetd/run | 5+----
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/skel/inetd.conf b/skel/inetd.conf @@ -15,3 +15,4 @@ #/tmp/unix.chat stream unix nowait nobody /XXX/bin/openssl openssl s_client -quiet -connect unix.chat:6697 #/tmp/irc.freenode.net stream unix nowait nobody /XXX/bin/openssl openssl s_client -quiet -connect irc.freenode.net:6697 #/tmp/irc.oftc.net stream unix nowait nobody /XXX/bin/openssl openssl s_client -quiet -connect irc.oftc.net:6697 +#/tmp/irc.rezosup.net stream unix nowait nobody /XXX/bin/openssl openssl s_client -quiet -connect irc.rezosup.net:6697 diff --git a/sv/inetd/run b/sv/inetd/run @@ -6,10 +6,7 @@ case "$(readlink "$(command -v inetd)")" in (*busybox*) exec inetd -fe "$HOME/.config/inetd.conf" ;; -esac - -case "$(uname -n)" in -(*BSD) +(*) exec inetd -d "$HOME/.config/inetd.conf" ;; esac