update makefile

serve
Avril 4 years ago
parent 57c74bd411
commit 66470d6be5
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -1,11 +1,17 @@
markov:
cargo build --release --features trust-x-forwarded-for
cargo build --release
strip target/release/markov
install: uninstall
install:
rc-service markov stop
cp -f target/release/markov /usr/local/bin/markov
rc-service markov start
reinstall: uninstall
cp -f target/release/markov /usr/local/bin/markov
rc-service markov start
sleep 0.2
rm -f /var/nginx/markov.dat
curl -X PUT -d @default http://127.0.0.1:8001/put
uninstall:

Loading…
Cancel
Save