There isn't a restart command for STAFProc. Note that many of the
configuration settings in the STAF.cfg file can also be made dynamically
via STAF service requests so that you might not have to restart STAFProc.
However, not that these dynamic setting changes will not be retained after
STAF is shutdown so you'll also want to also change the STAF.cfg file if
you want to make these changes permanent (e.g. so that they'll be in
effect as well the next time that STAFProc is restarted).
You can shutdown STAF and then start up STAF as you mentioned to restart
STAFProc. For example:
STAF local SHUTDOWN SHUTDOWN
cd C:\STAF OR if Unix: cd /usr/local/staf
startSTAFProc.bat OR if Unix: ./startSTAFProc.sh
Or, if you have STAFProc configured to restart automatically upon system
reboot, you could reboot the system (e.g. via a STAF PROCESS START
request). Section "11. Starting STAFProc during system reboot" in the
STAF Installation Guide at
http://staf.sourceforge.net/current/STAFInstall.pdf has more information
on this. However, I understand that you may not want to reboot the system
in order to simply restart STAFProc.
There is an open feature request, Feature #677 "Provide restart request",
at https://sourceforge.net/p/staf/feature-requests/677/. You can add a
comment to this feature stating that you would also like to see this
implemented to increase its priority.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: 陈加萍 <chenjiap...@dce.com.cn>
To: Sharon Lucas/Austin/IBM@IBMUS,
Cc: <staf-users@lists.sourceforge.net>
Date: 06/28/2013 03:55 AM
Subject: [ask question] how to restart the STAF?
Hi,
I’m sorry to bother you again. I am writing to ask a question.
According to the user guide(see setion 5.1 STAFProc): “Any changes made
to the STAF Configuration File after STAFProc has been started will not
take effect until you shutdown and restart STAFProc”
As we know, "STAF local shutdown shutdown" is used to stop the STAFProc
daemon process. If I want to restart the STAF which command should I can
use ?(except “stafproc” ,which is used to start STAF)
Best wishes !
----------------------------------------------------
Chen jiaping
Tel:13478918276
Email:chenjiap...@dec.com.cn
----------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users