Skip to content

issue 962 slice 1: Inventory Linux service install/start/stop scripts (CMS Jetty + DTS) #1975

Closed

Description

@natechadwick-intsof

Parent

Parent issue: #962

Slice

Child A / Slice 1 — Inventory current Linux service install, start, and stop scripts for CMS Jetty and DTS; document init.d touchpoints and packaging paths.

Already on main (inventory baseline from night split)

Do not re-implement systemd cutover. Capture / keep inventory accurate for ops and residual slices.

CMS Jetty (modules/perc-jetty)

Path Role
src/main/jetty/service/install-jetty-service.sh Linux service install/uninstall; prefers native systemd when available; --initd / --systemd flags
src/main/jetty/service/install-jetty-service.bat Windows Procrun (out of scope for this Linux slice)
src/main/jetty/service/percussion-cms.service.in systemd unit template (Type=forking, TimeoutStartSec=1800, journal)
src/main/jetty/service/README-systemd.md Operator install / migrate / journal notes
src/main/jetty/StartJetty.sh / StopJetty.sh Foreground / helper start-stop
src/main/jetty/resolve-java-home.sh JAVA_HOME resolution (sourced by service install)
Packaged via perc-jetty assembly (src/main/assembly/jetty-assembly.xml copies full distribution tree including service/) into CMS install under Jetty layout
init.d helper template ${JETTY_DEFAULTS}/bin/rxjetty.sh → written to /etc/init.d/<ServiceName> at install
Runtime config /etc/default/<ServiceName>, PID under /var/run/rxjetty/<ServiceName>/rxjetty.pid
Unit path /etc/systemd/system/<ServiceName>.service (default name PercussionCMS)
Structural tests SystemdUnitTemplateTest, InstallJettyServiceScriptTest, InstallJettyServiceJavaHomeTest

DTS (deliverytiersuite/delivery-tier-suite/delivery-tier-distribution)

Path Role
src/main/rootFiles/DTSProductionService.sh Production DTS install/uninstall; systemd prefer + --initd
src/main/rootFiles/DTSStagingService.sh Staging DTS install/uninstall
src/main/rootFiles/dts-tomcat.service.in Shared Tomcat unit template
src/main/rootFiles/README-systemd.md Ops notes
Defaults PercussionProductionDTS / PercussionStagingDTS
Structural tests DtsSystemdUnitTemplateTest (+ related script tests)

Spec / prior PR

Acceptance

Out of scope

  • Removing init.d
  • Live root systemd soak (Child C)
  • Product deprecation of SysV (Child D; human ops review required)

Labels / assignment

Unassigned. Night-issue residual slice under #962.

Activity

  1. natechadwick-intsof commented on Aug 5, 2026

    @natechadwick-intsof
    CollaboratorAuthor

    Inventory complete (slice 1)

    PR: #1985
    Durable inventory: specs/988-linux-systemd-services/inventory.md (commit daec4f5407)

    Validated

    • CMS Jetty service/ scripts, unit template, README, Start/StopJetty, resolve-java-home — present
    • Packaging via perc-jetty assembly → perc-distribution-tree jetty/ — present
    • Dual-ship (systemd prefer + --initd/--systemd) CMS + DTS — present, no silent init.d removal
    • Structural tests listed in issue body — present
    • DTS rootFiles + installDts.xml service script placement under Deployment/Server/ — present

    Gaps (residuals, not fixed in inventory PR)

    Out of scope held: no init.d removal, no live root soak.

    Operator: Grok night-issue-prs (model grok-4.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions