salt-minion

# `salt-minion`

The Salt minion daemon, receives commands from a remote Salt master.

## Synopsis

salt-minion [ options ]

## Description

The Salt minion receives commands from the central Salt master and replies with the results of said commands.

## Options

`--version```

  Print the version of Salt that is running.

`--versions-report```

  Show program's dependencies and version number, and then exit

`-h````,` `--help```

  Show the help message and exit

`-c` `CONFIG_DIR``,` `--config-dir``=CONFIG_dir`

  The location of the Salt configuration directory. This directory contains the configuration files for Salt master and minions. The default location on most systems is `/etc/salt`.

`-u` `USER``,` `--user``=USER`

  Specify user to run salt-minion

`-d````,` `--daemon```

  Run salt-minion as a daemon

`--pid-file` `PIDFILE`

  Specify the location of the pidfile. Default: /var/run/salt-minion.pid

### Logging Options

Logging options which override any settings defined on the configuration files.

`-l` `LOG_LEVEL``,` `--log-level``=LOG_LEVEL`

  Console logging log level. One of `all`, `garbage`, `trace`, `debug`, `info`, `warning`, `error`, `quiet`. Default: `warning`.

`--log-file``=LOG_FILE`

  Log file path. Default: /var/log/salt/minion.

`--log-file-level``=LOG_LEVEL_LOGFILE`

  Logfile logging log level. One of `all`, `garbage`, `trace`, `debug`, `info`, `warning`, `error`, `quiet`. Default: `warning`.

## See also

salt(1) salt(7) salt-master(1)

Current Salt release: 0.17.1

### Table Of Contents

- `salt-minion`
  - Synopsis
  - Description
  - Options
    - Logging Options
  - See also

#### Previous topic

`salt-master`

#### Next topic

`salt-key`

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd