I have a couple of scripts I'd like to execute for every vserver, as well
as some scripts that I only want to execute for some vservers. The docs
state that this is possible:
> /etc/vservers/vserver-name/scripts
> A directory for scripts. By default, when one of these scripts will be
> executed, the execution of defaultscripts (within .../.defaults/scripts)
> will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
> environment variable must be set by one of the in-shellcontext scripts (the
> non-executable ones).
But, where do I set $DONT_SKIP_DEFAULTS? I've tried setting it
in /etc/vservers/.defaults/apps/init/environment, but that doesn't work.
What do the docs mean by "one of the in-shellcontext scripts"?
Received on Tue Feb 20 20:18:00 2018