[elbe-devel] [PATCH 1/3] systemd: inline environment arguments

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Mar 28 12:14:39 CET 2024


The environment files are never touched.
Inline them into the systemd unit files.

The environment files themselves are still used by the SysV initscript
and will be removed together with them.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 debian/python3-elbe-daemon.service  | 3 +--
 debian/python3-elbe-updated.service | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/python3-elbe-daemon.service b/debian/python3-elbe-daemon.service
index 642b96f3d8e1..97fea26d2b24 100644
--- a/debian/python3-elbe-daemon.service
+++ b/debian/python3-elbe-daemon.service
@@ -4,8 +4,7 @@ Documentation=man:elbe-daemon(1)
 
 [Service]
 Type=simple
-EnvironmentFile=/etc/default/python3-elbe-daemon
-ExecStart=/usr/bin/elbe $DAEMON_ARGS
+ExecStart=/usr/bin/elbe daemon --port=7588
 
 [Install]
 WantedBy=multi-user.target
diff --git a/debian/python3-elbe-updated.service b/debian/python3-elbe-updated.service
index df0d780bf0ee..dbf8fc2fd983 100644
--- a/debian/python3-elbe-updated.service
+++ b/debian/python3-elbe-updated.service
@@ -4,8 +4,7 @@ Documentation=man:elbe-updated(1)
 
 [Service]
 Type=simple
-EnvironmentFile=/etc/default/python3-elbe-updated
-ExecStart=/usr/bin/elbe $DAEMON_ARGS
+ExecStart=/usr/bin/elbe updated
 
 [Install]
 WantedBy=multi-user.target

-- 
2.44.0



More information about the elbe-devel mailing list