2018-02-13 20:14:03 +01:00
|
|
|
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 }}
|
2018-02-14 10:54:44 +01:00
|
|
|
chdir {{ stanford_corenlp_dist_dir }}/tint
|
2018-02-13 20:14:03 +01:00
|
|
|
|
|
|
|
script
|
2018-02-14 10:54:44 +01:00
|
|
|
exec {{ tint_service_cmd }} > {{ stanford_corenlp_log_dir }}/tint.log 2>&1
|
2018-02-13 20:14:03 +01:00
|
|
|
end script
|