> [Home](../README.md) ➤ [CLI](README.md) ➤ restart # `restart` Stops the Appc Daemon, if running, and restarts it. ## Usage appcd restart [--config ] [--config-file ] [--debug] ### Options * #### `--config ` A string containing JSON that is parsed and merged into the Appc Daemon configuration prior to starting the Appc Daemon. These JSON config settings overrides the default configuration and all loaded config files. * #### `--config-file ` A path to a config file to load. Defaults to `~/.axway/appcd/config.js`. * #### `--debug` Starts the Appc Daemon in debug mode where the spawned Core subprocess is not detached and stdout and stderr are inherited allowing the Core to render log output directly to the terminal. Simply press CTRL-C to quit the Appc Daemon. ## Exit Codes | Code | Description | | :---: | :------------------------- | | 0 | Success | | 1 | An error occurred | | 2 | Showed help screen | | 5 | Server was run as root |