The current bin/restart-aolserver seems like it should be replaced, I guess with http://openacs.org/doc/openacs-4/files/restart-aolserver.txt, which is referred to in Vinod's installation instructions.
In OACS 4.5, the current bin/restart-aolserver will fail for most people: it assumes an unusual location for perl, it assumes Unix98, not BSD ps, and on my system, suidperl refuses to use /bin/ps. Ignoring suid, it's easy to fix, but the other version of the script might be better.
As a further note for any SuSE users grepping this forum, SuSE Linux (which I use) actually disables suidperl by stripping the s bit; I have to enable suidperl using "su; chmod +s /usr/bin/suidperl" before running setuid perl scripts. Not that I need to for this purpose, since nsd runs as nsadmin after following the installation instructions.
BTW, is there a way to do a restart from within the openacs system?