Other configurations

The commands made for managing configurations use a mini-configuration of their own which among others contains the locations of these configurations and whether admin rights are required. For uniformity both situations (admin and non-admin) use the split between local (below the nginx-config directory) and remote configuration.

The commands are similar to those for Nginx and Apache, so

  • fabsrv editconf <name(s)> to modify,

  • fabsrv modconf <name(s)> to replace,

  • fabsrv modconfb <name(s)> to backup and replace,

  • fabsrv modconfa <name(s)> to backup and append,

  • fabsrv diffconf for a textual comparison

  • fabsrv diffconfg for a graphical comparison

  • fabsrv listconf for a list of configuration files that can be managed using these functions.

At on time I started on a function to add applications (or for the intended purpose servers) to the system startup:

fabsrv addstartup

This was written for Ubuntu/Mint when they used update-rc.d.