Create nadeko_autorestart.sh
This commit is contained in:
parent
365c0890c6
commit
7d0a656a11
@ -8,13 +8,6 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Linking Nadeko DB"
|
|
||||||
mkdir -p /root/nadeko
|
|
||||||
mv -n /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db /root/nadeko/NadekoBot.db > /dev/null 2>&1
|
|
||||||
rm /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db > /dev/null 2>&1
|
|
||||||
ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db > /dev/null 2>&1
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Linking Nadeko Credentials"
|
echo "Linking Nadeko Credentials"
|
||||||
mv -n /opt/NadekoBot/src/NadekoBot/credentials.json /root/nadeko/credentials.json > /dev/null 2>&1
|
mv -n /opt/NadekoBot/src/NadekoBot/credentials.json /root/nadeko/credentials.json > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user