4. Configuration
savdid loads the non-reloadable configuration from /etc/savdid/savdid.conf.
The default configuration file in /opt/savdid/share/examples can normally be used as a base:
# cp /opt/savdid/share/examples/savdid.conf /etc/savdid/
Below are some of the most important settings that can be configured.
4.1. Protocol directives
- channel.commprotocol.address
The IP address to listen on. Mutually exclusive with
channel.commprotocol.socket.
- channel.commprotocol.port
The port to listen on. Mutually exclusive with
channel.commprotocol.socket.
- channel.commprotocol.socket
The socket to listen on. In the default configuration this is set to
/var/run/sssp.sock. Mutually exclusive withchannel.commprotocol.address.
- channel.commprotocol.type
The type should be
UNIXwhen usingchannel.commprotocol.socketandIPwhen usingchannel.commprotocol.address.
4.2. Scanner directives
- channel.scanner.enabletft
Enables the reporting of the file type of the scanned file. The valid options are YES or NO. The default is NO.
- channel.scanner.tftreport
Specifies whether to report only the first TFT on the top level file, or report all TFTs that are found in sub files. The valid options are FIRST or ALL.
4.3. Global directives
- user
The privdrop user
- group
The privdrop group