Change 31716

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server under Review 31717
View Review
Download .zip
Added support for 'p4 monitor -L'.

Changes:
* Added 'sudo /usr/bin/lsof' to sudoers commands.
* Added 'monitor.lsof=sudo /usr/bin/lsof -F pln' as configurable in configurables.cfg,
so that 'ccheck.sh' (the best practice configurables check) will search for it.
* Updated configure_new_server.sh to set this value.
* Added 'lsof' so list of SDP standard pacakges in install_sdp.sh.

Note that 'sudo' is reliably found in /usr/bin/lsof across Linux distros,
so this was deemed safe to hard-code.

Fixes: SDP-1265 (Feature): Support 'p4 monitor -L' by default.
  • Files 4
  • Comments 0
4 edited 0 added 0 deleted
Unix/p4/common/config/configurables.cfg#27
Loading...
Unix/setup/gen_sudoers.sh#9
Loading...
Unix/setup/install_sdp.sh#36
Loading...
setup/configure_new_server.sh#72
Loading...
Tip: Use n and p to cycle through the changes.