pkgsrc-WIP-changes archive

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

lpjs: Add run dir for systemctl, which requires a PID file



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sat May 18 15:44:04 2024 -0500
Changeset:	6dd134c522dcfec0b2f7e3a9eb7acb6cdd69bcb0

Modified Files:
	lpjs/Makefile

Log Message:
lpjs: Add run dir for systemctl, which requires a PID file

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

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

diffstat:
 lpjs/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/lpjs/Makefile b/lpjs/Makefile
index afe3d52d9d..de55bd8db8 100644
--- a/lpjs/Makefile
+++ b/lpjs/Makefile
@@ -32,6 +32,7 @@ LPJS_GROUP=		${LPJS_USER}
 
 LPJS_LOG_DIR?=		${PREFIX}/var/log/lpjs
 LPJS_SPOOL_DIR?=	${PREFIX}/var/spool/lpjs
+LPJS_RUN_DIR?=		${PREFIX}/var/run/lpjs
 LPJS_ETC_DIR?=		${PREFIX}/etc/lpjs
 
 PKG_GROUPS+=		${LPJS_GROUP}
@@ -41,7 +42,7 @@ PKG_SHELL.lpjs=		${NOLOGIN}
 
 OWN_DIRS_PERMS+=	${LPJS_LOG_DIR} ${LPJS_USER} ${LPJS_GROUP} 0755
 OWN_DIRS_PERMS+=	${LPJS_SPOOL_DIR} ${LPJS_USER} ${LPJS_GROUP} 0755
-OWN_DIRS_PERMS+=	${LPJS_ETC_DIR} ${LPJS_USER} ${LPJS_GROUP} 0755
+OWN_DIRS_PERMS+=	${LPJS_RUN_DIR} ${LPJS_USER} ${LPJS_GROUP} 0755
 OWN_DIRS_PERMS+=	${LPJS_ETC_DIR} ${LPJS_USER} ${LPJS_GROUP} 0755
 
 EGDIR=			${PREFIX}/share/examples/lpjs


Home | Main Index | Thread Index | Old Index