Patrick Williams | 5877637 | 2022-04-13 09:07:35 -0500 | [diff] [blame^] | 1 | From ed60d4605b81c43b9ba9504a37835109c247c6f8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Stefan Schmidt <stefan.schmidt@huawei.com> |
| 3 | Date: Fri, 1 Apr 2022 21:46:03 +0200 |
| 4 | Subject: [PATCH] otbr-agent.service.in: remove pre exec hook for mdns service |
| 5 | |
| 6 | It uses the service command which is not available in all cases under |
| 7 | Yocto/OE. The upstream project uses this mainly with Ubuntu and Raspian |
| 8 | as testbeds. |
| 9 | |
| 10 | In our case we simply ensure that avahi-daemon is installed on the |
| 11 | system inside the recipe. |
| 12 | |
| 13 | Upstream-Status: Inappropriate [OE specific] |
| 14 | |
| 15 | Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> |
| 16 | --- |
| 17 | src/agent/otbr-agent.service.in | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/src/agent/otbr-agent.service.in b/src/agent/otbr-agent.service.in |
| 21 | index 8314121347..4c97869def 100644 |
| 22 | --- a/src/agent/otbr-agent.service.in |
| 23 | +++ b/src/agent/otbr-agent.service.in |
| 24 | @@ -6,7 +6,7 @@ After=dbus.socket |
| 25 | |
| 26 | [Service] |
| 27 | EnvironmentFile=-@CMAKE_INSTALL_FULL_SYSCONFDIR@/default/otbr-agent |
| 28 | -@EXEC_START_PRE@ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS |
| 29 | +ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS |
| 30 | KillMode=mixed |
| 31 | Restart=on-failure |
| 32 | RestartSec=5 |
| 33 | -- |
| 34 | 2.35.1 |
| 35 | |