Browse Source

No more default port

relay-external-protocol
Tony Garnock-Jones 5 months ago
parent
commit
4292b06a93
  1. 2
      dev-scripts/run-server
  2. 2
      syndicate-server/src/main.rs

2
dev-scripts/run-server

@ -1,2 +1,2 @@
#!/bin/sh
make -C ../syndicate-server binary && exec taskset -c 0,1 ../target/release/syndicate-server "$@"
make -C ../syndicate-server binary && exec taskset -c 0,1 ../target/release/syndicate-server -p 8001 "$@"

2
syndicate-server/src/main.rs

@ -24,7 +24,7 @@ use schemas::internal_services;
#[derive(Clone, StructOpt)]
struct ServerConfig {
#[structopt(short = "p", long = "port", default_value = "8001")]
#[structopt(short = "p", long = "port")]
ports: Vec<u16>,
#[structopt(short = "s", long = "socket")]

Loading…
Cancel
Save