| Class | Symbiosis::ConfigFiles::Prosody |
| In: |
xmpp/lib/symbiosis/config_files/prosody.rb
|
| Parent: | Symbiosis::ConfigFile |
This disables a site whose configuration is contained in fn. This function makes sure that the site is enabled, before disabling it.
This enables a site by symlinking the self.filename to fn.
If fn is not specified, then self.filename is used, with conf.avail changed to conf.d.
If the force flag is set to true, then any file in the way is removed first.
This checks a site has its config file linked into the conf.d directory. If no filename has been specified, it defaults to self.filename with "conf.avail" transformed to "conf.d".
This function returns true if self.filename is symlinked to fn.