Skip to content

Commit

Permalink
mariadb*: Fix SMF pidfile location.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Feb 10, 2023
1 parent c8dc472 commit 9d5bb66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions databases/mariadb104-server/files/smf/mariadb.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions databases/mariadb105-server/files/smf/mariadb.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 9d5bb66

Please sign in to comment.