1From 05ae5237b1bc23399898f9c06463cfe2b5bba499 Mon Sep 17 00:00:00 2001
2From: James Hilliard <james.hilliard1@gmail.com>
3Date: Tue, 14 Sep 2021 17:48:03 -0600
4Subject: [PATCH] Don't require gstd-check-user-xenv.sh for systemd service
5
6The gstd-check-user-xenv.sh script does not appear to be required
7for running the gstd service so we shouldn't require it for the
8service to start.
9
10Note that the non-systemd init script already does not require this.
11
12Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
13[Upstream status:
14https://github.com/RidgeRun/gstd-1.x/pull/251]
15---
16 init/gstd.service.in | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/init/gstd.service.in b/init/gstd.service.in
20index 3d20ecd..9125983 100644
21--- a/init/gstd.service.in
22+++ b/init/gstd.service.in
23@@ -6,7 +6,7 @@ StartLimitIntervalSec=30
24 [Service]
25 Restart=on-failure
26 RestartSec=5s
27-ExecStartPre=@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
28+ExecStartPre=-@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh
29 ExecStart=@prefix@/bin/gstd
30
31 [Install]
32--
332.25.1
34
35