Created
February 15, 2020 22:02
-
-
Save mihionmc/810c0d1a0e4d4ff2766cdd9bf147021d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ps auxw | grep vmc.jar | grep -v grep > /dev/null | |
if [ $? != 1 ] | |
then | |
/etc/init.d/vanillamc stop && /home/zen/srv/vanillamc/paperupd.sh > /dev/null | |
fi | |
echo The Vanilla server is updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment