Start the master and minion services#
After you’ve installed and configured your Salt masters and minions, you need to start the minions so that they can:
- Send their keys to the master for acceptance.
- Begin listening to the
You can then start the Salt master and accept the minion keys. See Accept the minion keys for more information.
Before you start the Salt master and minions, you must first install the
salt-minion services and configure the Salt minion
to connect to the Salt master. See Configure the Salt master and minions for more
Starting Salt services#
systemctl is the main way to start Salt processes. Calling the process
directly will show the active logs in the foreground.
systemctl start salt-master systemctl start salt-minion
systemctl is also useful for preliminary debugging and process start/stop
systemctl [start|status|stop] [salt-master|salt-minion]
Starting in the foreground#
salt-minion daemons can show their logs in the
terminal by calling their processes directly: