Created
April 22, 2024 02:47
-
-
Save unquietwiki/f63b124c7c7d96748513b9686949e364 to your computer and use it in GitHub Desktop.
Systemd service for TeamCity server
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 | |
User=teamcity | |
Group=teamcity | |
WorkingDirectory=/opt/TeamCity | |
ExecStart=/opt/TeamCity/bin/startup.sh | |
ExecStop=/opt/TeamCity/bin/shutdown.sh | |
RestartSec=10 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment