diff --git a/databases/mariadb104-server/files/smf/mariadb.sh b/databases/mariadb104-server/files/smf/mariadb.sh index 3d94466165d9..9a0822a119bc 100644 --- a/databases/mariadb104-server/files/smf/mariadb.sh +++ b/databases/mariadb104-server/files/smf/mariadb.sh @@ -1,13 +1,13 @@ #!@SMF_METHOD_SHELL@ # -# $NetBSD: mariadb.sh,v 1.1 2021/05/08 19:47:16 jdolecek Exp $ +# $NetBSD: mariadb.sh,v 1.2 2023/02/10 09:44:01 jperkin Exp $ # # Init script for mysqld. # . /lib/svc/share/smf_include.sh -PIDFILE="@VARBASE@/run/mariadb/mariadb.pid" +PIDFILE="@MARIADB_DATADIR@/mariadb.pid" ulimit -n 10240 diff --git a/databases/mariadb105-server/files/smf/mariadb.sh b/databases/mariadb105-server/files/smf/mariadb.sh index cb9c0274f5d1..6208bc1f25c9 100644 --- a/databases/mariadb105-server/files/smf/mariadb.sh +++ b/databases/mariadb105-server/files/smf/mariadb.sh @@ -1,13 +1,13 @@ #!@SMF_METHOD_SHELL@ # -# $NetBSD: mariadb.sh,v 1.1 2021/05/23 15:32:48 nia Exp $ +# $NetBSD: mariadb.sh,v 1.2 2023/02/10 09:44:01 jperkin Exp $ # # Init script for mysqld. # . /lib/svc/share/smf_include.sh -PIDFILE="@VARBASE@/run/mariadb/mariadb.pid" +PIDFILE="@MARIADB_DATADIR@/mariadb.pid" ulimit -n 10240