diff options
| author | Steve Powell <steve@rabbitmq.com> | 2012-04-23 13:15:26 +0100 |
|---|---|---|
| committer | Steve Powell <steve@rabbitmq.com> | 2012-04-23 13:15:26 +0100 |
| commit | 7289513fc89a19b794ce0e0191c7a77afb741147 (patch) | |
| tree | 13be31851a336834e290c41b93942717f20f50af /packaging/debs | |
| parent | bf4ed68591c4f2d4d7dd6e63849e141d41b322c3 (diff) | |
| download | rabbitmq-server-git-7289513fc89a19b794ce0e0191c7a77afb741147.tar.gz | |
Add ulimit default file to debian package installation and source it on server start.
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/debian/rabbitmq-server.default | 26 | ||||
| -rw-r--r-- | packaging/debs/Debian/debian/rules | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/rabbitmq-server.default b/packaging/debs/Debian/debian/rabbitmq-server.default new file mode 100644 index 0000000000..6efa1b98dc --- /dev/null +++ b/packaging/debs/Debian/debian/rabbitmq-server.default @@ -0,0 +1,26 @@ +## The contents of this file are subject to the Mozilla Public License +## Version 1.1 (the "License"); you may not use this file except in +## compliance with the License. You may obtain a copy of the License +## at http://www.mozilla.org/MPL/ +## +## Software distributed under the License is distributed on an "AS IS" +## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +## the License for the specific language governing rights and +## limitations under the License. +## +## The Original Code is RabbitMQ. +## +## The Initial Developer of the Original Code is VMware, Inc. +## Copyright (c) 2012 VMware, Inc. All rights reserved. + +# This file is /etc/default/rabbitmq-server and is designed to allow +# adjustment of system limits for the rabbitmq-server service process. + +# Refer to the system documentation for ulimit (in man bash). + +# open file handles +#ulimit -n 1024 + +# The rabbitmq-server service must be restarted for these settings to +# be used. This file is installed when the package is installed and is +# not preserved on upgrade.
\ No newline at end of file diff --git a/packaging/debs/Debian/debian/rules b/packaging/debs/Debian/debian/rules index 108b1ed512..16f6893186 100644 --- a/packaging/debs/Debian/debian/rules +++ b/packaging/debs/Debian/debian/rules @@ -19,3 +19,4 @@ install/rabbitmq-server:: done sed -e 's|@RABBIT_LIB@|/usr/lib/rabbitmq/lib/rabbitmq_server-$(DEB_UPSTREAM_VERSION)|g' <debian/postrm.in >debian/postrm install -p -D -m 0755 debian/rabbitmq-server.ocf $(DEB_DESTDIR)usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server + install -p -D -m 0755 debian/rabbitmq-server.default $(DEB_DESTDIR)etc/default/rabbitmq-server |
