pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mariadb106-server/files/smf mariadb106-serve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99adfcde8afa
branches:  trunk
changeset: 377401:99adfcde8afa
user:      tm <tm%pkgsrc.org@localhost>
date:      Wed Apr 20 17:36:03 2022 +0000

description:
mariadb106-server: on illumos smf service move pid file location

SMF is not able to dynamically generate run-folders to store the
mariadb-server pid file. For that reason move the PID file to datadir
which already exists.

diffstat:

 databases/mariadb106-server/files/smf/mariadb.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 11ef5aba81b2 -r 99adfcde8afa databases/mariadb106-server/files/smf/mariadb.sh
--- a/databases/mariadb106-server/files/smf/mariadb.sh  Wed Apr 20 17:33:20 2022 +0000
+++ b/databases/mariadb106-server/files/smf/mariadb.sh  Wed Apr 20 17:36:03 2022 +0000
@@ -1,13 +1,13 @@
 #!@SMF_METHOD_SHELL@
 #
-# $NetBSD: mariadb.sh,v 1.1 2021/08/04 15:47:25 nia Exp $
+# $NetBSD: mariadb.sh,v 1.2 2022/04/20 17:36:03 tm 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
 



Home | Main Index | Thread Index | Old Index