mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
a177d7f0a1
On systems where you have both services, salt-master and salt-minion, enabled, you want that salt-minion.service starts after salt-master.service so that the minion will be able to connect to the master on first attempt.
16 lines
252 B
Desktop File
16 lines
252 B
Desktop File
[Unit]
|
|
Description=The Salt Minion
|
|
After=network.target salt-master.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
LimitNOFILE=8192
|
|
ExecStart=/usr/bin/salt-minion
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartSec=15
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|