Change 32402

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/p4/common under Review 32403
View Review
Download .zip
Fixed so the p4dtg_N (P4DTG) service can be managed with systmectl, e.g.

sudo systemctl start p4dtg_1
sudo systemctl status p4dtg_1
sudo systemctl stop p4dtg_1

Also added support for a "force_start" option, similar to that being added for
p4d (per SDP-837).

This change includes:
* Modifiedcation to the temmplate for the p4dtg_N_init script.
* Addition of new template for the systemd p4dtg_N.service file.
* Added a new script to generate a systemctl-compatible environment file from
the standard SDP shell environment mechanism.

See: SDP-552.

#review-32403
  • Files 3
  • Comments 0
2 edited 1 added 0 deleted
bin/gen_p4dtg_env.sh#1
Loading...
etc/init.d/p4dtg_instance_init.template#11
Loading...
etc/systemd/system/p4dtg_N.service.t#2
Loading...
Tip: Use n and p to cycle through the changes.