Change 21986

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 21984
View Review
Download .zip
Enhanced P4DTG init script:
* Now removes 'stop' file on startup, eliminating a manual step.
* Provides useful error message if a P4DTG error file is found.
* Provides a '-f' flag to move P4DTG error file aside and start anyway,
  but with a good error message telling the user to review the error
  file first.  (Typically errors are just related to p4d being down.)
* Made 'stop' wait for and confirm shutdown.
* Made 'stop' error out if already stopped.
* Made 'start' error out if already started.
* Made 'restart' robust (by making stop wait for confirmed shutdown).
* Cosmetic and output tweaks.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/etc/init.d/p4dtg_instance_init.template#7
Loading...
Tip: Use n and p to cycle through the changes.