Sha256: cec2c896b76f4e91c2738b947e6a5fbacd6c9bc495e18c5337138d74eba1576c

Contents?: true

Size: 345 Bytes

Versions: 7

Compression:

Stored size: 345 Bytes

Contents

#!/bin/sh

set -e
trap ERROR ERR

# Add admin group
cat /etc/group | grep admin || /usr/sbin/groupadd admin

# Install sudoers
install -o root -m 440 /tmp/sudoers /etc/sudoers
rm -f /tmp/sudoers

# Change inittab to runlevel 3
sed -i -e 's/^id:5:initdefault:/id:3:initdefault:/g' /etc/inittab

# Create web apps directory
mkdir -p /var/www/apps

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
capigen-0.1.4 lib/templates/centos/setup.sh
capigen-0.1.3 lib/templates/centos/setup.sh
capigen-0.1.1 templates/centos/setup.sh
capigen-0.1.2 lib/templates/centos/setup.sh
capitate-0.1.9 lib/templates/centos/setup_for_web.sh
capitate-0.1.8 lib/templates/centos/setup_for_web.sh
capitate-0.1.7 lib/templates/centos/setup_for_web.sh