...
NOTE: It is important to understand that the 'omkd' daemon, which is required for rendering the GUI via Apache also requires the /tmp directory to be mounted as executable or the daemon will crash after start. You can, however, redefine the /tmp directory for omkd by adding the following lines into the 'omkd' startup script. For older systems running the 'init' process, this file will be located in '/etc/init.d/omkd'. for newer systems based on 'systemd', the file will be located in '/etc/systemd/system/omkd.service'. Almost all modern systems will be running 'systemd'.
...
systemd:
Code Block title /etc/systemd/system/omkd.service # edit omkd service sudo systemctl edit omkd# redefine the /tmp directory for omkd by adding the following entry to [Service] - add [Service] if it is not already there: [Service] Environment="TMPDIR=/newtmp"# reload omkd after the edit sudo systemctl daemon-reload # restart the service sudo systemctl restart omkd
init.d:
Code Block title /etc/init.d/omkd
...
TMPDIR="/newtmp"
export TMPDIR
# Add them at line 18 (after the line # Do NOT "set -e"). TMPDIR="/newtmp" export TMPDIR
Each OMK daemon will need similar treatment.
Obviously, /tmpdir newtmp will need to exist. If the admin of the box needs to run any OMK programs manually, they will need to have exported TMPDIR=/tmpdir newtmp before they do so.
Available Installer Options
...