dot

packages and services management
Log | Files | Refs | README

commit 5ecdad359088baa923b346dd27674c8e9ccb6a9c
parent 228bed861c5d3d6d242874426b8da017cd094d42
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Fri, 23 Jun 2017 18:10:52 +0200

trying on josuah.net

Diffstat:
MSERVICE | 2+-
Mdarkhttpd/start | 4+---
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/SERVICE b/SERVICE @@ -55,7 +55,7 @@ then . "$ETC/$srv/start" "$@" >> "$VAR/log/$srv" 2>&1 && pid=$! && cp "/proc/$pid/cmdline" "$VAR/pid/$srv/$pid" - printf '%-15s [started] ' "$srv" + printf '%-15s [started] [%s] ' "$srv" "$pid" tr '\0' ' ' < "$VAR/pid/$srv/$pid" printf '\n' fi diff --git a/darkhttpd/start b/darkhttpd/start @@ -1,3 +1 @@ -cd "$VAR/www" || exit 1 - -darkhttpd --daemonize +darkhttpd "$VAR/www" &