Skip to content

Commit

Permalink
Merge pull request #17 from matisku/update-systemd
Browse files Browse the repository at this point in the history
Update pid info
  • Loading branch information
matisku authored Dec 22, 2017
2 parents c350f7f + 7c29530 commit 3710289
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/teamcity-server.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ Requires=network.target
After=syslog.target network.target

[Service]
Type=oneshot
Type=forking
User={{ teamcity_server_user }}
Group={{ teamcity_server_user }}
RemainAfterExit=true
SuccessExitStatus=0 143
EnvironmentFile=/etc/default/teamcity-server
PIDFile={{ teamcity_server_dir }}/logs/teamcity-server.pid
PIDFile={{ teamcity_server_dir }}/logs/teamcity.pid
ExecStart={{ teamcity_server_dir }}/bin/teamcity-server.sh start
ExecStop={{ teamcity_server_dir }}/bin/teamcity-server.sh stop

Expand Down

0 comments on commit 3710289

Please sign in to comment.