-
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
[CWD-4286] systemd unit-file startup/stop-script should be shipped with Atlasssian Crowd
Workflow | Original: JAC Suggestion Workflow [ 3363049 ] | New: JAC Suggestion Workflow 3 [ 3626378 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1392343 ] | New: JAC Suggestion Workflow [ 3363049 ] |
Issue Type | Original: New Feature [ 2 ] | New: Suggestion [ 10000 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Resolution | New: Answered [ 9 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Workflow | Original: Crowd Development Workflow v2 [ 841239 ] | New: Simplified Crowd Development Workflow v2 [ 1392343 ] |