dot

packages and services management
Log | Files | Refs | README

commit 6d5a001a7a2230a50f2cf1ad60b463847447d231
parent 3369cdea5806daa6e58570b4de4ba8474e50fa8e
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 14 Aug 2017 23:20:13 +0200

*/start -> */run

Diffstat:
Rgit/start -> git/run | 0
Rii/start -> ii/run | 0
Rlibbearssl/start -> libbearssl/run | 0
Rmini_httpd/start -> mini_httpd/run | 0
Rminihttpd/start -> minihttpd/run | 0
Rmonitor/start -> monitor/run | 0
Rngircd/start -> ngircd/run | 0
Ropentracker/start -> opentracker/run | 0
Apkg/bin/.pkg-service.swp | 0
Mpkg/bin/pkg-service | 6+++---
Rratox/start -> ratox/run | 0
11 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/git/start b/git/run diff --git a/ii/start b/ii/run diff --git a/libbearssl/start b/libbearssl/run diff --git a/mini_httpd/start b/mini_httpd/run diff --git a/minihttpd/start b/minihttpd/run diff --git a/monitor/start b/monitor/run diff --git a/ngircd/start b/ngircd/run diff --git a/opentracker/start b/opentracker/run diff --git a/pkg/bin/.pkg-service.swp b/pkg/bin/.pkg-service.swp Binary files differ. diff --git a/pkg/bin/pkg-service b/pkg/bin/pkg-service @@ -6,8 +6,8 @@ case "$cmd" in ;; ('') cd "$PKG" || exit 1 - for service in */start - do "$0" status "${service%/start}" + for service in */run + do "$0" status "${service%/run}" done exit 0 (*) @@ -42,7 +42,7 @@ done if [ "$running" = 0 ] && [ "$cmd" = start ] || [ "$cmd" = restart ] then mkdir -p "$RUN/pid/$srv" - . "$PKG/$srv/start" "$@" >> "$RUN/log/$srv" 2>&1 && + . "$PKG/$srv/run" "$@" >> "$RUN/log/$srv" 2>&1 && cp "/proc/$PID/cmdline" "$RUN/pid/$srv/$PID" || exit 1 printf '%-15s [started] ' "$srv" diff --git a/ratox/start b/ratox/run