You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
genmarkov/Makefile

14 lines
312 B

markov:
cargo build --release --features trust-x-forwarded-for
strip target/release/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