|
|
@ -9,9 +9,9 @@ install:
|
|
|
|
|
|
|
|
|
|
|
|
reinstall: uninstall
|
|
|
|
reinstall: uninstall
|
|
|
|
cp -f target/release/markov /usr/local/bin/markov
|
|
|
|
cp -f target/release/markov /usr/local/bin/markov
|
|
|
|
|
|
|
|
rm -f /var/nginx/markov.dat
|
|
|
|
rc-service markov start
|
|
|
|
rc-service markov start
|
|
|
|
sleep 0.2
|
|
|
|
sleep 0.2
|
|
|
|
rm -f /var/nginx/markov.dat
|
|
|
|
|
|
|
|
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:
|
|
|
|
uninstall:
|
|
|
|