Sha256: 0879a6c49df8dc9dc348d23e6b7dd3d724e345c8225b58f169fa9e4a933bee59

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

#!/bin/sh
# /etc/init.d/teamcity -  startup script for teamcity
export TEAMCITY_DATA_PATH="{{ pillar['homedir'] }}/local/TeamCity-{{ pillar['versions']['teamcity'] }}/.BuildServer"
 /etc/profile.d/java.sh

case $1 in
start)
  start-stop-daemon --start  -c {{ pillar['username'] }} --exec {{ pillar['homedir'] }}/local/TeamCity-{{ pillar['versions']['teamcity'] }}/bin/runAll.sh start
;;

stop)
  start-stop-daemon --start -c {{ pillar['username'] }}  --exec  {{ pillar['homedir'] }}/local/TeamCity-{{ pillar['versions']['teamcity'] }}/bin/runAll.sh stop
;;

esac

exit 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
salted-rails-0.0.9 salt/ci/teamcity/etc/init.d/teamcity
salted-rails-0.0.8 salt/ci/teamcity/etc/init.d/teamcity
salted-rails-0.0.7 salt/ci/teamcity/etc/init.d/teamcity