Update devd.conf for ports change 421360

Ports change 421360 changed the name and UID of the postgres user

Reviewed by:	trasz, imp, girgen
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9746
This commit is contained in:
asomers 2017-02-27 15:32:56 +00:00
parent 3217345841
commit 1ca0afa05e

View File

@ -312,10 +312,10 @@ notify 10 {
}; };
# This example works around a memory leak in PostgreSQL, restarting # This example works around a memory leak in PostgreSQL, restarting
# it when the "user:pgsql:swap:devctl=1G" rctl(8) rule gets triggered. # it when the "user:postgres:swap:devctl=1G" rctl(8) rule gets triggered.
notify 0 { notify 0 {
match "system" "RCTL"; match "system" "RCTL";
match "rule" "user:70:swap:.*"; match "rule" "user:770:swap:.*";
action "/usr/local/etc/rc.d/postgresql restart"; action "/usr/local/etc/rc.d/postgresql restart";
}; };