Tag Info

New answers tagged

1

You're using rvm, so the proper way to deal with ruby not being found is to use an rvm wrapper (on SysVinit and upstart systems). First (optional) create an alias for your app to the gemset you want to use: rvm alias create my_app ruby-2.1.4@my_gemset Then create the wrapper(s) you want: rvm wrapper my_app mongrel_rails The wrapper is created in the ...


0

If '/var/script/start.sh' works when you run it logged in as user01, then your script depends on environment variables. To see those variables run 'env'. Maybe something is missing when you try to run it from the root account via 'su user01 -c'. What I would suggest is to try using a special option '-' with su. From the man page: -, -l, --login ...


0

Docker containers are basically just processes, so they can allocate memory in all the usual ways that a process can. Since you say you are on Linode, perhaps you have the default 256MB swap size? That would give you an overall limit for everything on the system of 2.25GB; maybe that's just not enough? A command like top will show you how much memory is ...


0

While it may look the the problem is coming from the init.pp file in the windowsfeature it almost certainly isn't. Take a look at the file. Line 64 is a validation function, that is checking the $restart variable that was almost certainly passed as a parameter using or looked up via hiera. Short answer is that your issue is somewhere else, most likely ...



Top 50 recent answers are included