Atlassian crowd systemd unit
Create systemd service unit in /etc/systemd/system/crowd.service
:
[Unit]
Description=Crowd
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
User=nobody
Group=nobody
Environment=JAVA_HOME=/opt/jdk-latest
Environment=PATH=/opt/jdk-latest/bin:/usr/sbin:/usr/bin
EnvironmentFile=-/etc/default/crowd
WorkingDirectory=/opt/atlassian/crowd
ExecStart=/bin/sh start_crowd …