Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / dynamodb-local   deb

Repository URL to install this package:

Version: 1.11.477 

/ usr / share / pleaserun / dynamodb-local-server / upstart / 0.6.5 / files / etc / init / dynamodb-local-server.conf

description     "dynamodb-local-server"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]

respawn
umask 022
chroot /
chdir /

#limit core <softlimit> <hardlimit>
#limit cpu <softlimit> <hardlimit>
#limit data <softlimit> <hardlimit>
#limit fsize <softlimit> <hardlimit>
#limit memlock <softlimit> <hardlimit>
#limit msgqueue <softlimit> <hardlimit>
#limit nice <softlimit> <hardlimit>
#limit nofile <softlimit> <hardlimit>
#limit nproc <softlimit> <hardlimit>
#limit rss <softlimit> <hardlimit>
#limit rtprio <softlimit> <hardlimit>
#limit sigpending <softlimit> <hardlimit>
#limit stack <softlimit> <hardlimit>


script
  # When loading default and sysconfig files, we use `set -a` to make
  # all variables automatically into environment variables.
  set -a
  [ -r "/etc/default/dynamodb-local-server" ] && . "/etc/default/dynamodb-local-server"
  [ -r "/etc/sysconfig/dynamodb-local-server" ] && . "/etc/sysconfig/dynamodb-local-server"
  set +a
  exec chroot --userspec root:root / /usr/local/bin/dynamodb-local  >> /var/log/dynamodb-local-server-stdout.log 2>> /var/log/dynamodb-local-server-stderr.log
end script