Skip to content

Commit

Permalink
Remove legacy init script
Browse files Browse the repository at this point in the history
  • Loading branch information
johngmyers committed Apr 22, 2024
1 parent 9f0c12f commit 4cb7e13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 82 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Platform 3.22

* RPM packaging

We removed the legacy init script from RPM packages. Systemd is now required.

Platform 3.21

* Library Upgrades
Expand Down
63 changes: 0 additions & 63 deletions launcher/src/main/scripts/bin/init.redhat

This file was deleted.

19 changes: 0 additions & 19 deletions library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1565,33 +1565,15 @@
<source>
<location>${project.build.directory}/launcher/bin</location>
<excludes>
<exclude>**/init.redhat</exclude>
<exclude>**/platform.service</exclude>
</excludes>
</source>
<source>
<location>${project.build.directory}/launcher/bin/init.redhat</location>
<filter>true</filter>
</source>
</sources>
<username>root</username>
<groupname>root</groupname>
<filemode>755</filemode>
</mapping>
<!-- Service control -->
<mapping>
<directory>/etc/init.d</directory>
<directoryIncluded>false</directoryIncluded>
<sources>
<softlinkSource>
<location>/opt/proofpoint/${project.artifactId}/bin/init.redhat</location>
<destination>${project.artifactId}</destination>
</softlinkSource>
</sources>
<username>root</username>
<groupname>root</groupname>
<filemode>755</filemode>
</mapping>
<mapping>
<directory>/usr/lib/systemd/system</directory>
<directoryIncluded>false</directoryIncluded>
Expand Down Expand Up @@ -1751,7 +1733,6 @@
</includes>
<unpackOptions>
<excludes>
<exclude>bin/init.redhat</exclude>
<exclude>bin/launcher.rb</exclude>
<exclude>bin/platform.service</exclude>
</excludes>
Expand Down

0 comments on commit 4cb7e13

Please sign in to comment.