Jero Posted April 8, 2014 Report Share Posted April 8, 2014 Hey Guys, Is it possible to split the linux config file in multiple files? I want to have a config file per shared folder. I currently manage 10-20 linux servers. The servers are all connected with btsync.I have created a system that can push scripts to the servers en executed them. But when i need to change one shared folder on one server i just want to push a new file without to touch the other parameters in the config file. Kind regards, Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 8, 2014 Report Share Posted April 8, 2014 Jero, BTSync does not support multiple config files. However, instead of modifying existing config file - you can build it from scratch with your deployment script every time when you want to apply some change. Quote Link to comment Share on other sites More sharing options...
Jero Posted April 8, 2014 Author Report Share Posted April 8, 2014 Thx for your reply, the thing is that there is one folder specific for the server (rw), so when i need to change a sync folder (or add a sync folder) for all the x servers i need to change all the config files and deploy them instead of one file en push them to all the servers at once. But i can live with it ;-) Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted April 8, 2014 Report Share Posted April 8, 2014 The idea is really intriguing... I think it's worth to be documented in a change request for one of the next versions of the Server Packages for Linux. See Issue #124 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.