[examples] fix binary path in systemd socket activation

release notes: no
pull/36034/head
nipil 9 months ago
parent 4ac804bec9
commit 2415112c22
  1. 4
      examples/cpp/systemd_socket_activation/test.sh

@ -37,8 +37,8 @@ pass() {
} }
bazel build --define=use_systemd=true //examples/cpp/systemd_socket_activation:all || fail "Failed to build sd_sock_act" bazel build --define=use_systemd=true //examples/cpp/systemd_socket_activation:all || fail "Failed to build sd_sock_act"
cp ../../../../bazel-bin/examples/cpp/systemd_socket_activation/server /tmp/greeter_server cp ../../../bazel-bin/examples/cpp/systemd_socket_activation/server /tmp/greeter_server
cp ../../../../bazel-bin/examples/cpp/systemd_socket_activation/client /tmp/greeter_client cp ../../../bazel-bin/examples/cpp/systemd_socket_activation/client /tmp/greeter_client
cat << EOF > /etc/systemd/system/sdsockact.service cat << EOF > /etc/systemd/system/sdsockact.service
[Service] [Service]

Loading…
Cancel
Save