Not a developer? Go to



This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.

When running Movable Type through PSGI, the file path for holding the web-server PID must be defined.

When a configuration change is made that affects the behavior of the entire application, mt.psgi will attempt to restart the application.

Examples of configuration changes:

  • After completing an installation or upgrade
  • Changing system configurations, such as when entering debug mode
  • Adding or deleting a custom field

In this situation, SIGHUP sends a signal to the server. In order for Movable Type to send this signal successfully, the server needs to tell Movable Type it’s process ID. We give Movable Type this information via PID files, usually stored (on *nix systems) in /var/run.

#in mt-config.cgi
PIDFilePath /var/run/

# then run starman
$ starman --pid /var/run/ ./mt.psgi

For more detail, please visit our Wiki’s documentation




PIDFilePath /var/run/