Create a gist now

Instantly share code, notes, and snippets.

@azusa /jira.env
Last active Feb 27, 2018

Embed
jiraをsystemdで起動するときのユニット設定のサンプル
JAVA_HOME=/usr/java/default
[Unit]
Description=The JIRA Server
After=syslog.target
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/systemd/system/jira.env
ExecStart=/opt/atlassian/jira/current/bin/start-jira.sh
ExecStop=/opt/atlassian/jira/current/bin/stop-jira.sh
PIDFile=/opt/atlassian/jira/current/work/catalina.pid
KillMode=none
User=jira
Group=jira
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment