0001-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch 1.0 KB

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