Sign in to follow this  
Jero

Linux: Split Config In Multple Files

Recommended Posts

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,

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

 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 ;-)

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this