diff options
author | bms <bms@FreeBSD.org> | 2009-07-04 20:40:50 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-07-04 20:40:50 +0800 |
commit | 570068fd4230419b6a7eda27dba7bb1f85c530a8 (patch) | |
tree | 2838ebca847e834d68ece34603425da32d85e5ae /net/rabbitmq | |
parent | a7edbaaba5e877c7b786b7d97c9b5ec78d8d702e (diff) | |
download | freebsd-ports-gnome-570068fd4230419b6a7eda27dba7bb1f85c530a8.tar.gz freebsd-ports-gnome-570068fd4230419b6a7eda27dba7bb1f85c530a8.tar.zst freebsd-ports-gnome-570068fd4230419b6a7eda27dba7bb1f85c530a8.zip |
Add a note about rabbitmqctl and how to use it properly to the
post-install target.
Diffstat (limited to 'net/rabbitmq')
-rw-r--r-- | net/rabbitmq/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/rabbitmq/Makefile b/net/rabbitmq/Makefile index 3fc4e4896376..318c10977cb4 100644 --- a/net/rabbitmq/Makefile +++ b/net/rabbitmq/Makefile @@ -45,7 +45,22 @@ pre-install: @${FIND} ${WRKSRC}/ebin ${WRKSRC}/include -type f | \ ${XARGS} ${CHMOD} 0644 +# TODO: Wrap control scripts to use ${RABBITMQ_USER} via su, much like +# the installed rc.d script, for user convenience. post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${ECHO_MSG} + @${ECHO_MSG} "###############################################################################" + @${ECHO_MSG} + @${ECHO_MSG} "Please note:" + @${ECHO_MSG} "The \"rabbitmqctl\" command must be run as the \"${RABBITMQ_USER}\" user," + @${ECHO_MSG} "with a real shell, and with the HOME environment variable set to that" + @${ECHO_MSG} "user's real home directory." + @${ECHO_MSG} + @${ECHO_MSG} "sudo users can do something like this:" + @${ECHO_MSG} " # sudo -H -u rabbitmq rabbitmqctl ..." + @${ECHO_MSG} + @${ECHO_MSG} "###############################################################################" + @${ECHO_MSG} .include <bsd.port.mk> |