Update nadeko_autorestart.sh
This commit is contained in:
parent
7a03d9fea7
commit
a0a5afe9db
@ -14,11 +14,11 @@ echo "Linking Nadeko DB"
|
|||||||
mkdir /root/nadeko
|
mkdir /root/nadeko
|
||||||
mv -n /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db /root/nadeko/NadekoBot.db
|
mv -n /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db /root/nadeko/NadekoBot.db
|
||||||
rm /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
rm /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
||||||
ln -s ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
||||||
|
|
||||||
mv -n /opt/NadekoBot/src/NadekoBot/credentials.json /root/nadeko/credentials.json
|
mv -n /opt/NadekoBot/src/NadekoBot/credentials.json /root/nadeko/credentials.json
|
||||||
rm /opt/NadekoBot/src/NadekoBot/credentials.json
|
rm /opt/NadekoBot/src/NadekoBot/credentials.json
|
||||||
ln -s ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/credentials.json
|
ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/credentials.json
|
||||||
|
|
||||||
cd NadekoBot/src/NadekoBot
|
cd NadekoBot/src/NadekoBot
|
||||||
echo "Running NadekoBot with auto restart Please wait."
|
echo "Running NadekoBot with auto restart Please wait."
|
||||||
|
Loading…
Reference in New Issue
Block a user