[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 12/24: service: Remove unused 'make-init.d-service'.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 12/24: service: Remove unused 'make-init.d-service'. |
Date: |
Mon, 28 Mar 2022 17:24:47 -0400 (EDT) |
civodul pushed a commit to branch wip-fibers
in repository shepherd.
commit 5ec38c7867b0dcf5c800f63413f79b74605c4925
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Mar 25 09:54:55 2022 +0100
service: Remove unused 'make-init.d-service'.
* modules/shepherd/service.scm (make-init.d-service): Remove.
---
modules/shepherd/service.scm | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 1ccb18d..e21e6bb 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -87,7 +87,6 @@
read-pid-file
make-system-constructor
make-system-destructor
- make-init.d-service
check-for-dead-services
root-service
@@ -1105,16 +1104,6 @@ as argument, where SIGNAL defaults to `SIGTERM'."
(lambda (ignored . args)
(not (zero? (status:exit-val (system (apply string-append command)))))))
-;; Create service with constructor and destructor being set to typical
-;; init.d scripts.
-(define (make-init.d-service name . stuff)
- (let ((cmd (string-append "/etc/init.d/" name)))
- (apply make <service>
- #:provides (list (string->symbol name))
- #:start (make-system-constructor cmd " start")
- #:stop (make-system-destructor cmd " stop")
- stuff)))
-
;; A group of service-names which can be provided (i.e. services
;; providing them get started) and unprovided (same for stopping)
;; together. Not comparable with a real runlevel at all, but can be
- [shepherd] branch wip-fibers created (now 8664372), Ludovic Courtès, 2022/03/28
- [shepherd] 02/24: build: Drop support for Guile 2.0., Ludovic Courtès, 2022/03/28
- [shepherd] 03/24: Use Fibers., Ludovic Courtès, 2022/03/28
- [shepherd] 05/24: shepherd: Use one fiber for signal handling, and one for clients., Ludovic Courtès, 2022/03/28
- [shepherd] 08/24: shepherd: Encode log as UTF-8 unconditionally., Ludovic Courtès, 2022/03/28
- [shepherd] 10/24: doc: Fix inetutils cross-reference., Ludovic Courtès, 2022/03/28
- [shepherd] 12/24: service: Remove unused 'make-init.d-service'.,
Ludovic Courtès <=
- [shepherd] 13/24: service: Add the #:transient? slot., Ludovic Courtès, 2022/03/28
- [shepherd] 18/24: shepherd: Remove half-baked readline support., Ludovic Courtès, 2022/03/28
- [shepherd] 19/24: shepherd: "shepherd -s -" replies to the current output port., Ludovic Courtès, 2022/03/28
- [shepherd] 17/24: service: Add 'start-in-the-background'., Ludovic Courtès, 2022/03/28
- [shepherd] 14/24: service: Add inetd constructor and destructor., Ludovic Courtès, 2022/03/28
- [shepherd] 15/24: service: Allow 'running' value to be a thunk., Ludovic Courtès, 2022/03/28
- [shepherd] 20/24: service: Add #:handle-termination slot., Ludovic Courtès, 2022/03/28
- [shepherd] 22/24: service: 'make-inetd-constructor' lets the caller specify socket ownership., Ludovic Courtès, 2022/03/28
- [shepherd] 06/24: service: 'read-pid-file' no longer blocks., Ludovic Courtès, 2022/03/28
- [shepherd] 09/24: service: 'make-forkexec-constructor' spawns a logging fiber., Ludovic Courtès, 2022/03/28