From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Subject: [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot
Date: Mon, 30 Nov 2026 16:18:26 +0100 [thread overview]
Message-ID: <20261130154031.269150-14-stefan.schantl@ipfire.org> (raw)
In-Reply-To: <20261130154031.269150-1-stefan.schantl@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/rootfiles/packages/gerbera | 3 +++
lfs/gerbera | 9 +++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 57a209590e..2cf7bef9bc 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -1,6 +1,9 @@
#etc/gerbera
etc/gerbera/config.xml
etc/rc.d/init.d/gerbera
+etc/rc.d/rc0.d/K01gerbera
+etc/rc.d/rc3.d/S70gerbera
+etc/rc.d/rc6.d/K01gerbera
usr/bin/gerbera
#usr/share/bash-completion/completions/gerbera
#usr/share/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index e62cce9208..36a517466b 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -115,10 +115,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
mkdir -pv /var/lib/gerbera
chown nobody:nobody /var/lib/gerbera
- #install initscripts
+ # Install initscripts
$(call INSTALL_INITSCRIPTS,$(SERVICES))
- #install backup definition
+ # Create symlinks for runlevel interaction.
+ ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc3.d/S70gerbera
+ ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc0.d/K01gerbera
+ ln -svf /etc/rc.d/init.d/gerbera /etc/rc.d/rc6.d/K01gerbera
+
+ # Install backup definition
install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \
/var/ipfire/backup/addons/includes/gerbera
--
2.47.3
next prev parent reply other threads:[~2026-11-30 15:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 15:18 [Patchset] - Gerbera a uPnP/DLNA media server Stefan Schantl
2026-11-30 15:18 ` [PATCH 01/13] libupnp: New package Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 02/13] spdlog: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 03/13] jsoncpp: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 04/13] pugixml: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 05/13] duktape: " Stefan Schantl
2026-11-30 15:18 ` [PATCH 06/13] gerbera: " Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 07/13] gerbera: Ship default config file Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 08/13] gerbera: Add initscript Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 09/13] gerbera: Add backup definitions Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 10/13] gerbera: Update to 3.3.0 Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 11/13] libupnp: Rootfile update Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` [PATCH 12/13] gerbera: Fix installing config file Stefan Schantl
2026-11-30 16:06 ` Michael Tremer
2026-11-30 15:18 ` Stefan Schantl [this message]
2026-11-30 16:06 ` [PATCH 13/13] gerbera: Add rc symlinks for autostart on boot Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130154031.269150-14-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox