Bug#1022903: made a merge request/patch
Control: tags -1 +patch
https://salsa.debian.org/debian-hamradio-team/soundmodem/-/merge_requests/4
Patch attached as well.
>From 3129562671c2c2241db052460b8d7fdd9bb0b4ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Thu, 27 Oct 2022 14:37:21 -0400
Subject: [PATCH] start service only when a config file is present (Closes:
#1022903)
---
debian/soundmodem.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/soundmodem.service b/debian/soundmodem.service
index 4313e52..f5536d3 100644
--- a/debian/soundmodem.service
+++ b/debian/soundmodem.service
@@ -1,6 +1,7 @@
[Unit]
Description=Soundmodem systemD service file to fix device permissions
After=sound.target network.target multi-user.target
+ConditionPathExists=/etc/ax25/soundmodem.conf
[Service]
Type=forking
--
2.30.2
Reply to: