I all... I am the admin of a bunch of servers and I like make things easy and quick.
I was thinking about a bash script able to update in automatic a server whenever a new release is found.
I cannot think of a way to automatically update because of all the questions the updater asks where you have to manually push y!
Is there any way to automate all those questions? I would be great!
Advertisement
Page 1 of 1
Linux server updater
how to automate...
#1
Posted 11 November 2012 - 03:53 PM
- Brave Warriors Clan - bw|servers @ URTSERVER.TK - BlueChip Bot developer
[img]http://www.dead.it/UrT/logop.png[/img]
[img]http://www.dead.it/UrT/logop.png[/img]
#2
Posted 11 November 2012 - 09:28 PM
IceMan, on 11 November 2012 - 03:53 PM, said:
I all... I am the admin of a bunch of servers and I like make things easy and quick.
I was thinking about a bash script able to update in automatic a server whenever a new release is found.
I cannot think of a way to automatically update because of all the questions the updater asks where you have to manually push y!
Is there any way to automate all those questions? I would be great!
I was thinking about a bash script able to update in automatic a server whenever a new release is found.
I cannot think of a way to automatically update because of all the questions the updater asks where you have to manually push y!
Is there any way to automate all those questions? I would be great!
You can try the "yes" command (included in GNU coreutils, so it probably is already in your system), which does exactly what you want in an input pipe before the updater invocation, like the following:
yes | ./UrTUpdater_Ded.x86_64
#3
Posted 11 November 2012 - 11:28 PM
karnute, on 11 November 2012 - 09:28 PM, said:
You can try the "yes" command (included in GNU coreutils, so it probably is already in your system), which does exactly what you want in an input pipe before the updater invocation, like the following:
yes | ./UrTUpdater_Ded.x86_64
This was answered in an early thread. You add a -q (quiet all flags) and the updater will run through with no questions asked.
#5
Posted 14 November 2012 - 07:07 AM
Courgette, on 12 November 2012 - 10:41 PM, said:
you can call "./UrTUpdater_Ded.i386 -q" it works for me
In current form you'd still have to do some checkups, if the downloaded pk3 files are 2/4 kb size in which case you should delete them and download again...
copy the binary to /usr/bin
restart the server
get some checkups if all is done correctly
...
all of which you seem not to be capable of since you stopped at expect / yes / -q...
Just do it manually, it's not like there's more than few minutes of "work" needed once per month...
I am lucker. no skills at all. ask anyone
I sell frozen jogurt which i call frogurt.
www.b00bs-clan.com .::. youtube.com/b00bsclan .::. [b00bs] TV / Twitch .::. twitter.com/b00bsclan @b00bsclan .::. www.b00bs-clan.com/servers 13 UrT 4.1 + 12 UrT 4.2
I sell frozen jogurt which i call frogurt.
www.b00bs-clan.com .::. youtube.com/b00bsclan .::. [b00bs] TV / Twitch .::. twitter.com/b00bsclan @b00bsclan .::. www.b00bs-clan.com/servers 13 UrT 4.1 + 12 UrT 4.2
Advertisement
Page 1 of 1