ansible-roles/stanford-corenlp/templates/tint.upstart.j2

13 lines
342 B
Plaintext
Raw Normal View History

description "TINT service"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
respawn
respawn limit 10 5
setuid {{ stanford_corenlp_user }}
setgid {{ stanford_corenlp_user }}
script
exec cd {{ stanford_corenlp_dist_dir }}/tint {{ tint_service_cmd }} > {{ stanford_corenlp_log_dir }}/tint.log 2>&1
end script