Subject: |
RE: How to increase oversubscribed instance: |
Author: |
Jane Curry |
Posted: |
2019-04-17 07:48 |
Still don't know where the config files are but a command-line way to achieve this is:
serviced service edit <service name>
Look for the RAMCommitment entry, change it to what you want, save the 'file' (I assumed it was using the vi editor) and restart the service.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: How to increase oversubscribed instance: |
Author: |
Jay Stanley |
Posted: |
2019-04-17 09:22 |
You can use any editor you wish if you add -e argument.
serviced service edit zope -e vim
serviced service edit zope -e nano
It will also use whatever is set int he environment variable EDITOR
export EDITOR="/usr/bin/nano"
serviced service edit zope # will now use nano
This can be useful, because you can set the editor to a script, to do things like replace values using sed.
for i in $(serviced service list --show-fields=ServiceID); do EDITOR=./my_script.sh serviced service edit $i; done
Exporting all configs to files for backup or reviewing
https://gist.github.com/jstanley23/160d982b49af53fab96c18ef551c18c9------------------------------
jstanley
------------------------------