dot

packages and services management
Log | Files | Refs | README

commit d6a2e4a16c3fb3ccbdf44d3b9cd1bb29d19a0d10
parent 080acfee848e290336eccbd59072976f2d88755e
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Tue, 15 Aug 2017 17:17:23 +0200

pkg/bin/pkg-service: fixed layout

Diffstat:
Dmonitor/.cron.swp | 0
Dngircd/.crash.swp | 0
Dpkg/bin/.pkg-tar.swp | 0
Mpkg/bin/pkg-service | 8++++----
Ascron/crash | 1+
5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/monitor/.cron.swp b/monitor/.cron.swp Binary files differ. diff --git a/ngircd/.crash.swp b/ngircd/.crash.swp Binary files differ. diff --git a/pkg/bin/.pkg-tar.swp b/pkg/bin/.pkg-tar.swp Binary files differ. diff --git a/pkg/bin/pkg-service b/pkg/bin/pkg-service @@ -49,10 +49,6 @@ do fi done -if [ "$acted""$cmd" = '0''status' ] || [ "$acted""$cmd" = '0''stop' ] -then printf '%-15s [ ]\n' "$srv" -fi - # --- start -------------------------------------------------------------------- @@ -85,4 +81,8 @@ do fi done +if [ "$acted""$cmd" = '0''status' ] || [ "$acted""$cmd" = '0''stop' ] +then printf '%-15s [ ]\n' "$srv" +fi + rmdir "$ROOT/run/pid"/* 2> /dev/null || true diff --git a/scron/crash b/scron/crash @@ -0,0 +1 @@ +pkg-service start scron