Help with autostart please? :)
#26
(02-27-2016, 03:35 PM)Schwertspize Wrote: Sup. Big thanks. Firstly, please don't concatenate such commands with &&.. Use a && sleep 3 && instead. 

Secondly, you can concatenate them to one script, never heard of shell functions. So...  Finally I will soon post my extended script containing status and update. Smile (cuberite start starts, stop stops, restart both stop and start. Update builds it to .cache/cuberite and runs the CI tests. If that fails, it touches a succeeded file, otherwise not. Cuberite looks at every startup at this file and copies over. (that makes you have minimum downtime, because you can build while cuberite is running AND test that build. Status would drop a "online" command and maybe a performance command to screen and copy the output

I've never been a bash guy, i know the scripts could give someone a stroke and I know are far from optimal, i used them for testing. I'm happy to know you will be extending your script adding more features. I'll check it when is ready.
Reply
Thanks given by:


Messages In This Thread
Help with autostart please? :) - by Utking - 02-25-2016, 07:56 AM
Tmux guide - by LogicParrot - 02-25-2016, 06:14 PM
RE: Tmux guide - by Utking - 02-25-2016, 07:22 PM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 04:46 AM
RE: Help with autostart please? :) - by bearbin - 02-26-2016, 06:40 AM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 07:27 AM
RE: Help with autostart please? :) - by Rekuen - 02-26-2016, 07:59 AM
RE: Help with autostart please? :) - by Utking - 02-26-2016, 08:25 AM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 11:11 AM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 08:46 PM
RE: Help with autostart please? :) - by Utking - 02-27-2016, 06:58 PM
RE: Help with autostart please? :) - by Rekuen - 02-27-2016, 08:34 PM
RE: Help with autostart please? :) - by Utking - 03-01-2016, 05:51 PM
RE: Help with autostart please? :) - by Rekuen - 02-28-2016, 01:31 AM
RE: Help with autostart please? :) - by tigerw - 03-01-2016, 09:07 AM



Users browsing this thread: 1 Guest(s)