pkgsrc-WIP-changes archive

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

unit: Change state dir from %%PREFIX%%/libexec/unit to /var/db/unit.



Module Name:	pkgsrc-wip
Committed By:	Sergey A. Osokin <osa%FreeBSD.org@localhost>
Pushed By:	osa
Date:		Thu Feb 4 18:08:12 2021 -0500
Changeset:	eb08978f903bce760855f5408f7aae300c3b2f66

Modified Files:
	unit/Makefile.common

Log Message:
unit: Change state dir from %%PREFIX%%/libexec/unit to /var/db/unit.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eb08978f903bce760855f5408f7aae300c3b2f66

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unit/Makefile.common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/unit/Makefile.common b/unit/Makefile.common
index 460d171257..10958b47d7 100644
--- a/unit/Makefile.common
+++ b/unit/Makefile.common
@@ -45,7 +45,7 @@ CONFIGURE_ARGS+=	--ld-opt="-L${PREFIX}/lib -R${PREFIX}/lib"
 CONFIGURE_ARGS+=	--log=${UNIT_LOGDIR}/unit.log
 CONFIGURE_ARGS+=	--modules=${UNIT_EXTENSION_DIR}
 CONFIGURE_ARGS+=	--pid=${UNIT_PIDDIR}/unit.pid
-CONFIGURE_ARGS+=	--state=libexec/unit
+CONFIGURE_ARGS+=	--state=${UNIT_DATADIR}
 CONFIGURE_ARGS+=	--control=unix:${UNIT_RUNDIR}/control.unit.sock
 CONFIGURE_ARGS+=	--tmp=${UNIT_TMPDIR}
 CONFIGURE_ARGS+=	--user=${UNIT_USER}


Home | Main Index | Thread Index | Old Index