installing makefile

serve
Avril 4 years ago
parent f1a1a5079f
commit 87c8c525cd
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -4,10 +4,10 @@ markov:
install: uninstall install: uninstall
cp -f target/release/markov /usr/local/bin/markov cp -f target/release/markov /usr/local/bin/markov
rc-service start markov rc-service markov start
sleep 1 sleep 0.2
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:
-rc-service stop markov -rc-service markov stop
rm /usr/local/bin/markov rm /usr/local/bin/markov

Loading…
Cancel
Save