Initial Commit
This commit is contained in:
13
templates/teamcity.service.j2
Normal file
13
templates/teamcity.service.j2
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=JetBrains TeamCity
|
||||
Requires=network.target
|
||||
After=syslog.target network.target
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart={{teamcity.installation_path}}/bin/runAll.sh start
|
||||
ExecStop={{teamcity.installation_path}}/bin/runAll.sh stop
|
||||
User=teamcity
|
||||
PIDFile={{teamcity.installation_path}}/teamcity.pid
|
||||
Environment="TEAMCITY_PID_FILE_PATH={{teamcity.installation_path}}/teamcity.pid"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user