Re, On 07/07/2015 10:22 PM, Rodrigo Campos wrote: > Thanks a lot for the quick response! > > I tried but didn't understand it. How can I make it interactive or auto? Using > -b with -r doesn't seem to do anything.
The batch mode (-b) just reports pending restarts in a way easy to reuse it by other scripts. > I want to restart the daemons (sometimes choose which), but without the > progress > bar, ideally. Can this be done with "-b" ? > > Sorry if it can, I've been playing with it and didn't manage to do it. There is no "--quiet" option. To auto restart daemons you might use `-r a` (and redirect the output into /dev/null). To make needrestart more quiet you could use the verbose mode and redirect the stderr to /dev/null (this sounds somewhat weirrd ;-). > # needrestart -v 2> /dev/null > Running kernel seems to be up-to-date. > Services to be restarted: > Restart accounts-daemon.service? [Ynas?] ^C HTH, Thomas -- :: WWW: http://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: http://www.flickr.com/photos/laugufe/ :: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org