ssh: Service don't depends on concurrent-servers
Install the service files even with `concurrent-servers` enabled. This
will match the behavior before
https://gerrit.openbmc.org/c/openbmc/obmc-console/+/66418
Change-Id: If539b099185974a2546249b40bc4c97968f1a206
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/meson.build b/meson.build
index e1fc5f0..5b66368 100644
--- a/meson.build
+++ b/meson.build
@@ -21,6 +21,14 @@
],
install_dir: systemdsystemunitdir,
)
+if get_option('ssh').allowed()
+ install_data('conf/obmc-console-ssh@.service.in',
+ rename: [
+ 'obmc-console-ssh@.service'
+ ],
+ install_dir: systemdsystemunitdir,
+ )
+endif
if get_option('concurrent-servers')
install_data('conf/client.2200.conf.in',
@@ -28,13 +36,6 @@
install_dir: systemdsystemunitdir)
else
if get_option('ssh').allowed()
- install_data('conf/obmc-console-ssh@.service.in',
- rename: [
- 'obmc-console-ssh@.service'
- ],
- install_dir: systemdsystemunitdir,
- )
-
install_data('conf/obmc-console-ssh.socket.in',
rename: [ 'obmc-console-ssh.socket' ],
install_dir: systemdsystemunitdir)