Update nadeko_autorestart.sh
This commit is contained in:
parent
7d0a656a11
commit
d72bc47344
@ -17,10 +17,9 @@ ln -s /root/nadeko/credentials.json /opt/NadekoBot/src/NadekoBot/credentials.jso
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Linking Nadeko Data Folder"
|
echo "Linking Nadeko Data Folder"
|
||||||
mkdir -p /root/nadeko/data
|
mkdir -p /root/nadeko/data
|
||||||
cp -rvn /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/* /root/nadeko/data/
|
rsync --ignore-existing -rt /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/ /root/nadeko/data/
|
||||||
rm -rf /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/ > /dev/null 2>&1
|
rm -rf /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/ > /dev/null 2>&1
|
||||||
mkdir -p /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/ > /dev/null 2>&1
|
ln -s /root/nadeko/data/ /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data > /dev/null 2>&1
|
||||||
ln -s /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/ /root/nadeko/ > /dev/null 2>&1
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Running NadekoBot with auto restart Please wait."
|
echo "Running NadekoBot with auto restart Please wait."
|
||||||
|
Loading…
Reference in New Issue
Block a user