From 2974e7c64e651729ba316f955b64cc2a1762e704 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Wed, 7 Nov 2012 15:39:16 -0800 Subject: [PATCH] Add a redhat6 readme --- etc/redhat-el6/README | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 etc/redhat-el6/README diff --git a/etc/redhat-el6/README b/etc/redhat-el6/README new file mode 100644 index 0000000..40a0c12 --- /dev/null +++ b/etc/redhat-el6/README @@ -0,0 +1,35 @@ +To setup on RedHat 6 or one of its clones: + +# Create a service account for the daemon to run as +useradd -r -m inbucket + +# Create datastore directory +mkdir /var/opt/inbucket +chown inbucket: /var/opt/inbucket + +# Copy logrotate config into place +cp inbucket.logrotate /etc/logrotate.d/logrotate +chown root: /etc/logrotate.d/logrotate + +# Copy init script into place and activate +cp inbucket-init.sh /etc/init.d +chown root: /etc/init.d/inbucket +chmod 755 /etc/init.d/inbucket +chkconfig --add inbucket + +# Copy the sample config into place +# NOTE: there is a "cap" command in the init script that allows inbucket +# to listen on privileged ports without running as root. +cp ../unix-sample.conf /etc/opt/inbucket.conf +chown root: /etc/opt/inbucket.conf + +(confirm /etc/opt/inbucket.conf is to your liking) + +# Start the daemon +service inbucket start + +# Confirm it stayed running +service inbucket status + +# Check inbucket's startup messages +less /var/log/inbucket.log