From 348f6b5fb7284135ecd73f5cec4fea43fbe230e6 Mon Sep 17 00:00:00 2001 From: asomers Date: Tue, 30 May 2017 16:17:00 +0000 Subject: [PATCH] MFC r314341: Update devd.conf for ports change 421360 Ports change 421360 changed the name and UID of the postgres user Reviewed by: trasz, imp, girgen Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D9746 git-svn-id: svn://svn.freebsd.org/base/stable/10@319223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/devd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/devd.conf b/etc/devd.conf index c8f61a037..a0be74f3a 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -310,10 +310,10 @@ notify 10 { }; # 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 { match "system" "RCTL"; - match "rule" "user:70:swap:.*"; + match "rule" "user:770:swap:.*"; action "/usr/local/etc/rc.d/postgresql restart"; }; -- 2.42.0