serve
Avril 4 years ago
parent d61ece534f
commit f1a1a5079f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -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…
Cancel
Save