Updating configurations¶
Important
When updating configuration files, all current configuration files and patch files will be overwritten. Therefore, be sure to make backups of your current files.
Updating configurations TKControl¶
Before updating, make backups of configuration files:
sudo cp -r /etc/tkcontrol /etc/tkcontrol.old
Update config files of TKControl:
sudo tkcontrol-auth configure && \ sudo tkcontrol-backend configure && \ sudo tkcontrol-dbadapter configure && \ sudo tkcontrol-services configure
Restart services:
sudo systemctl restart tkcontrol-{auth,backend,dbadapter,services}
Updating configurations of Salt-Master¶
Before updating, make backups of configuration files:
sudo cp -r /etc/salt /etc/salt.old && \ sudo cp -r /srv/salt /srv/salt.old
Update config files of salt-master:
sudo tkcontrol-configure salt-master --with-patch
Restart services:
sudo systemctl restart salt-{master,api}
Updating configurations of Nginx¶
Before updating, make backup of the configuration file:
sudo cp /etc/nginx/sites-available/tkcontrol.conf /etc/nginx/sites-available/tkcontrol.conf.old
Update config files of nginx:
sudo tkcontrol-configure proxy
Restart service:
sudo systemctl restart nginx