Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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] section if it is not already present:
    [Service]
    Environment="TMPDIR=/newtmp"# reload omkd after the edit
    
    # reload the edited service
    sudo systemctl daemon-reload
    
    # restart the service
    sudo systemctl restart omkd


  • init.d:

    Code Block
    title/etc/init.d/omkd
    # Add them at line 18 (after the line # Do NOT "set -e").
    TMPDIR="/newtmp"
    export TMPDIR


...