Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4286

systemd unit-file startup/stop-script should be shipped with Atlasssian Crowd

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I have created a systemd unit-file for automated startup and stop of Atlassian Crowd, for use with systemd-based Linux distributions (i.e. RedHat Enterprise Linux 7). I encourage you to ship this (or a similar) unit-file with future releases of Atlassian Crowd. You might want to include the customization of paths to Crowd and Java in the build.sh script.

      monospaced text
      [Unit]
      Description=Atlassian Crowd
      After=mariadb.service syslog.target network.target

      [Service]
      Type=forking
      User=crowd
      Group=atlassian
      Environment=JAVA_HOME=/opt/java/jdk CATALINA_PID=/opt/atlassian/crowd/latest/apache-tomcat/work/catalina.pid
      PIDFile=/opt/atlassian/crowd/latest/apache-tomcat/work/catalina.pid
      ExecStart=/opt/atlassian/crowd/latest/apache-tomcat/bin/startup.sh
      ExecStop=/opt/atlassian/crowd/latest/apache-tomcat/bin/shutdown.sh

      [Install]
      WantedBy=multi-user.target

              Unassigned Unassigned
              7fa5c22fcf1b Atlassian
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: