]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - src/initscripts/system/functions
initscripts: Add switch to start processes in background
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jul 2021 08:59:00 +0000 (08:59 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 5 Sep 2021 17:39:14 +0000 (17:39 +0000)
commit0c7ba6523fdcf495d90b7d3f15065f712ec36e1c
tree89486291daf23804ac557f93c38a335c515adfed
parent07300f6a14b55eed5c3865bf258f3108b8a7a222
initscripts: Add switch to start processes in background

Since systemd, many programs no longer behave like a well-behaved
daemon. To avoid any extra solutions, this patch adds a -b switch which
will start a program in the background and throw away any output.

The behaviour remains unchanged for any other programs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/initscripts/system/functions