deploy: MB - reload plugin

This commit is contained in:
Erik Bročko 2018-09-06 09:33:18 +02:00
parent 9da3a6a828
commit b4d9776a19

View File

@ -1,7 +1,10 @@
#!/bin/bash
if [[ "Eriks-MacBook-Air.local" == `hostname` ]]; then
MC_PATH="../../server"
cp "$1" "../../server/plugins/$2.jar"
"$MC_PATH/cmd.sh" "plugman reload $2"
else
LXC_CONT="marw"
MC_USER="mc"