Last active
September 20, 2018 07:05
-
-
Save azusa/1f9ff9f6751c84b456ba758fa856b70d to your computer and use it in GitHub Desktop.
jiraをsystemdで起動するときのユニット設定のサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JAVA_HOME=/usr/java/default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=The JIRA Server | |
After=network-online.target remote-fs.target nss-lookup.target | |
Wants=network-online.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