1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

add pid to unit file

This commit is contained in:
Tim Moody 2021-05-18 10:36:57 -04:00
parent af80b44056
commit 87637aa678

View file

@ -5,6 +5,7 @@ After=syslog.target network.target local-fs.target
[Service] [Service]
Type=forking Type=forking
Environment="KALITE_HOME={{ kalite_root }}" Environment="KALITE_HOME={{ kalite_root }}"
PIDFile={{ kalite_root }}/kalite.pid
ExecStart={{ kalite_program }} start {{ job_scheduler_stanza }}--port={{ kalite_server_port }} ExecStart={{ kalite_program }} start {{ job_scheduler_stanza }}--port={{ kalite_server_port }}
ExecStop={{ kalite_program }} stop ExecStop={{ kalite_program }} stop
TimeoutStartSec=900 TimeoutStartSec=900