Created
April 19, 2017 16:32
-
-
Save hneiva/8420c36754f1efa55d27e8b3b3c768cc to your computer and use it in GitHub Desktop.
Teamcity Server Systemd Definition
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=TeamCity Server | |
After=network.target | |
[Service] | |
Type=forking | |
PIDFile=/opt/teamcity/logs/teamcity.pid | |
; Make sure the CATALINA_PID env variable is setup in $TEAMCITY_HOME/bin/catalina.sh | |
User=teamcity | |
ExecStart=/opt/teamcity/bin/teamcity-server.sh start | |
ExecStop=/opt/teamcity/bin/teamcity-server.sh stop | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment