p4d_N.service.t #5

  • //
  • guest/
  • perforce_software/
  • helix-installer/
  • dev/
  • src/
  • p4d_N.service.t
  • View
  • Commits
  • Open Download .zip Download (450 B)
[Unit]
Description=Helix Core Server Instance __INSTANCE__.
Documentation=https://swarm.workshop.perforce.com/projects/perforce-software-sdp/view/main/doc/SDP_Guide.Unix.pdf
Requires=network.target
After=network.target

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

[Install]
WantedBy=multi-user.target
# Change User Description Committed
#6 31173 C. Thomas Tyler For p4d systemd tempate, added AmbientCapabilities=CAP_SYS_RESOURCE.
#5 29341 C. Thomas Tyler Modernized 'backup' SDP systemd service templates to match SDP.

These copies of the systemd service templates in the Helix Insaller are not
actually used, as the Helix Installer uses the SDP templates directly.
These are samples but of course should be current.
#4 26558 C. Thomas Tyler Updated systemd service file templates to reference SDP docs.
#3 26014 C. Thomas Tyler Fix issue with systemd files when OSUSER is not perforce.

Also fixed issue with '-X' mode cleaning up firewalld files.
#2 26010 C. Thomas Tyler Fixed systemd service file for p4d containing hard-coded ref to instance 1.
#1 25750 C. Thomas Tyler Added systemd service file templates.