summaryrefslogtreecommitdiffstats
path: root/extra/tomcat/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-05 17:12:28 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-05 17:12:28 +0100
commit552d48ec7b90e518d2e64fcbfe969ca389479f76 (patch)
treeaacbe17a77f8e62ee25a7e0aeae17bf0fedac655 /extra/tomcat/post-install
parent4b4be57e28e13c15e33502d5df13980f36159226 (diff)
downloadnutyx-extra-552d48ec7b90e518d2e64fcbfe969ca389479f76.tar.gz
nutyx-extra-552d48ec7b90e518d2e64fcbfe969ca389479f76.tar.bz2
nutyx-extra-552d48ec7b90e518d2e64fcbfe969ca389479f76.tar.xz
nutyx-extra-552d48ec7b90e518d2e64fcbfe969ca389479f76.zip
tomcat dans ouvert
Diffstat (limited to 'extra/tomcat/post-install')
-rwxr-xr-xextra/tomcat/post-install16
1 files changed, 0 insertions, 16 deletions
diff --git a/extra/tomcat/post-install b/extra/tomcat/post-install
deleted file mode 100755
index be8e6e36d..000000000
--- a/extra/tomcat/post-install
+++ /dev/null
@@ -1,16 +0,0 @@
- if [ ! `grep tomcat /etc/group` ]; then
- groupadd -g 66 tomcat &>/dev/null;
- fi
-
- id tomcat &>/dev/null || \
- useradd -u 66 -g tomcat -d /opt/tomcat -s /bin/false tomcat
-
- if [ -f lib/modules/`uname -r`/kernel/security/capability.ko ]; then
- echo ">>> It appears that your current kernel has linux security"
- echo ">>> capabilities built as a module. tomcat requires this"
- echo ">>> functionality to operate."
- echo ">>>"
- echo ">>> To activate the module, please load it now (modprobe capability)."
- echo ">>> Also, you should add it to your MODULES array in rc.conf, so"
- echo ">>> it will be activated automatically at boot-up."
- fi