Change dependency of obmc-console-ssh.socket to obmc-console
Restart obmc-console will cause restarting of obmc-console-ssh.socket.
obmc-console-ssh.socket restarting sometimes failes with
"Address already in use" error.
If changing dependency from 'Requires' to 'Wants', restarting
obmc-console will not cause restarting of obmc-console-ssh.socket.
Resolves openbmc/obmc-console#7
Change-Id: I7a63409707e52fa94bcddaec4ee2aade3e0ac4f2
Signed-off-by: Yi Li <adamliyi@msn.com>
diff --git a/common/recipes-phosphor/console/obmc-console/obmc-console-ssh.socket b/common/recipes-phosphor/console/obmc-console/obmc-console-ssh.socket
index 7a7abb5..3174489 100644
--- a/common/recipes-phosphor/console/obmc-console/obmc-console-ssh.socket
+++ b/common/recipes-phosphor/console/obmc-console/obmc-console-ssh.socket
@@ -1,6 +1,6 @@
[Unit]
Description=Phosphor Host Console SSH Per-Connection socket
-Requires=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service
+Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service
[Socket]
ListenStream=2200