Bug#824842: [pkg-go] Bug#824842: prometheus: let systemd wait longer for graceful stop

2016-05-22 Thread Filippo Giunchedi
tags 824842 + patch thanks On Fri, May 20, 2016 at 01:37:12PM +0100, Martín Ferrari wrote: > Makes sense. For sysvinit I am making it wait almost 20 seconds, and > after that the action just fails (instead of SIGKILLing it). If systemd > does not have that option, I would say wait up to one

Bug#824842: [pkg-go] Bug#824842: prometheus: let systemd wait longer for graceful stop

2016-05-20 Thread Martín Ferrari
On 20/05/16 11:47, Filippo Giunchedi wrote: > I noticed on bigger prometheus instances it might take quite some time after > 'stop' is requested before the storage is completely flushed to disk, I'm > proposing to add TimeoutStopSec= to the service file to have systemd wait > before SIGTERM, not