delete a file everytime pg server starts/crashes

Поиск
Список
Период
Сортировка
Искать

delete a file everytime pg server starts/crashes

От:
athinivas <athinivas@gmail.com>
Дата:
Hi, 

I'm having a requirement to delete a file in system whenever pg server is
started/crashed. Any idea?

Thanks,
Athi 



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-hackers-f2155306.html

Re: delete a file everytime pg server starts/crashes

От:
Stuart Gathman <stuart@gathman.org>
Дата:
On 10/05/2017 10:03 AM, athinivas wrote:
> I'm having a requirement to delete a file in system whenever pg server is
> started/crashed. Any idea?
If you are using systemd, ExecPre/ExecPost.


FAQ