1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Add a redhat6 readme

This commit is contained in:
James Hillyerd
2012-11-07 15:39:16 -08:00
parent 1b697e0daa
commit 2974e7c64e

35
etc/redhat-el6/README Normal file
View File

@@ -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