parent
d61ece534f
commit
f1a1a5079f
@ -1,8 +1,13 @@
|
|||||||
|
|
||||||
markov:
|
markov:
|
||||||
cargo build --release --features trust-x-forwarded-for
|
cargo build --release --features trust-x-forwarded-for
|
||||||
strip target/release/markov
|
strip target/release/markov
|
||||||
|
|
||||||
install: build
|
install: uninstall
|
||||||
rc-service restart markov
|
cp -f target/release/markov /usr/local/bin/markov
|
||||||
|
rc-service start markov
|
||||||
|
sleep 1
|
||||||
curl -X PUT -d @default http://127.0.0.1:8001/put
|
curl -X PUT -d @default http://127.0.0.1:8001/put
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
-rc-service stop markov
|
||||||
|
rm /usr/local/bin/markov
|
||||||
|
Loading…
Reference in new issue