p4web_N.service.t #2

  • //
  • p4-sdp/
  • dev_rebrand/
  • Unsupported/
  • Samples/
  • etc/
  • systemd/
  • system/
  • p4web_N.service.t
  • View
  • Commits
  • Open Download .zip Download (421 B)
[Unit]
Description=P4Web Server Instance __INSTANCE__.
Documentation=https://workshop.perforce.com/view/p4-sdp/r25.1/doc/SDP_Guide.Unix.html
Requires=network.target
After=network.target

[Service]
Type=simple
ExecStart=/p4/__INSTANCE__/bin/p4web___INSTANCE___init start
ExecStop=/p4/__INSTANCE__/bin/p4web___INSTANCE___init stop
Environment=OS_INIT_MECHANISM=systemd
User=__OSUSER__

[Install]
WantedBy=multi-user.target
# Change User Description Committed
#2 31615 C. Thomas Tyler First pass at rebranding changes, including:
* Changes to remove 'swarm.' from Workshop URLS, so swarm.workshop -> workshop.
* Changed URL for Copyright.
* Renamed get_helix_binaries.sh -> get_p4_binaries.sh, with associated directory and doc changes.
* Accounted for rename of HAS -> P4AS.
* Changed HMS references to P4MS.
* Replaced "Helix" and "Helix Core" references.
* Renamed variables to reduce tech debt buildup induced by rebranding.
* Changed default mount points:
/hxdepots[-1,N] -> /p4depots[-1,N]
/hxmetadata[1,2] -> /p4db[-1,2]
/hxlogs -> /p4logs

Also made some changes related to rebranding going out with r25.1.
#1 31592 C. Thomas Tyler Populate stream //p4-sdp/dev_rebrand from //p4-sdp/dev.
//p4-sdp/dev/Unsupported/Samples/etc/systemd/system/p4web_N.service.t
#1 31397 C. Thomas Tyler Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368.
//guest/perforce_software/sdp/dev/Unsupported/Samples/etc/systemd/system/p4web_N.service.t
#1 29725 C. Thomas Tyler Moved p4web init script template to Unsupported to clarify it is not supported.
Modernized p4web_base to work with systemd.

#review-29726