[Bug 275851] [PATCH] databases/postgresql*-server: starting doesn't set up the class
Date: Wed, 20 Dec 2023 01:58:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275851 Bug ID: 275851 Summary: [PATCH] databases/postgresql*-server: starting doesn't set up the class Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: takeda@takeda.tk Created attachment 247165 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247165&action=edit Set the login class when starting postgresql I have default class restricted as to number of open files and processes, so this is quite visible to me. /usr/local/etc/rc.d/postgresql initdb already sets the class: postgresql_initdb() { ${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec /usr/local/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}" } but /usr/local/etc/rc.d/postgresql start is missing it: postgresql_command() { ${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}" } -- You are receiving this mail because: You are the assignee for the bug.