-
Suggestion
-
Resolution: Answered
-
None
-
None
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
- is related to
-
CWD-4454 Run Crowd as a service
- Closed