forked from ISTI-ansible-roles/ansible-roles
13 lines
342 B
Plaintext
13 lines
342 B
Plaintext
|
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
|