parent
d61ece534f
commit
f1a1a5079f
@ -1,8 +1,13 @@
|
||||
|
||||
markov:
|
||||
cargo build --release --features trust-x-forwarded-for
|
||||
strip target/release/markov
|
||||
|
||||
install: build
|
||||
rc-service restart markov
|
||||
install: uninstall
|
||||
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
|
||||
|
||||
uninstall:
|
||||
-rc-service stop markov
|
||||
rm /usr/local/bin/markov
|
||||
|
Loading…
Reference in new issue