[elbe-devel] [PATCH] elbe-updated: Fix .default file loading

Bastian Germann bage at linutronix.de
Tue Jun 14 18:02:05 CEST 2022


The .default file has the package's name, which got prefixed by
python3- a while ago. Fix loading the default daemon settings.

Fixes: 2041e2697a ('debian: add "python3-" prefix to most packages')
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 debian/python3-elbe-updated.init    | 2 +-
 debian/python3-elbe-updated.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/python3-elbe-updated.init b/debian/python3-elbe-updated.init
index fb31a851fc..0df10c3760 100644
--- a/debian/python3-elbe-updated.init
+++ b/debian/python3-elbe-updated.init
@@ -16,7 +16,7 @@
 # PATH should only include /usr/* if it runs after the mountnfs.sh script
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="elbe"
-NAME=elbe-updated
+NAME=python3-elbe-updated
 DAEMON=/usr/bin/elbe
 DAEMON_ARGS="updated"
 PIDFILE=/var/run/$NAME.pid
diff --git a/debian/python3-elbe-updated.service b/debian/python3-elbe-updated.service
index 55d6aedc34..df0d780bf0 100644
--- a/debian/python3-elbe-updated.service
+++ b/debian/python3-elbe-updated.service
@@ -4,7 +4,7 @@ Documentation=man:elbe-updated(1)
 
 [Service]
 Type=simple
-EnvironmentFile=/etc/default/elbe-updated
+EnvironmentFile=/etc/default/python3-elbe-updated
 ExecStart=/usr/bin/elbe $DAEMON_ARGS
 
 [Install]
-- 
2.30.2



More information about the elbe-devel mailing list