net-libs/spectrum/files/spectrum.symlink.cfg
changeset 223 170b7f18863e
parent 222 8d5962438a43
child 224 9fd7aa2f35be
equal deleted inserted replaced
222:8d5962438a43 223:170b7f18863e
     1 [service]
       
     2 # enable this spectrum instance
       
     3 enable=1
       
     4 
       
     5 # one of: aim, facebook, gg, icq, irc, msn, myspace, qq, simple, xmpp, yahoo
       
     6 protocol=$filename:protocol
       
     7 
       
     8 # component ip
       
     9 server=127.0.0.1
       
    10 
       
    11 # if use_proxy is 1, the http_proxy env var will be used as the proxy server
       
    12 # for example export http_proxy="http://user:passwd@your.proxy.server:port/"
       
    13 use_proxy=0
       
    14 
       
    15 # component JID
       
    16 jid=$protocol.example.com
       
    17 
       
    18 # component secret
       
    19 password=secret
       
    20 
       
    21 # component port
       
    22 port=$filename:port
       
    23 
       
    24 config_interface = /var/run/spectrum/$protocol.sock
       
    25 
       
    26 # IP:port where filetransfer proxy binds to. This has to be public IP.
       
    27 #filetransfer_bind_address=192.0.2.1:$port
       
    28 
       
    29 # IP:port which will be sent in filetransfer request as stream host.
       
    30 #filetransfer_public_address=192.0.2.1:$port
       
    31 
       
    32 # admin JIDs - Jabber IDs of transport administrators who have access to admin adhoc commands
       
    33 # separated by semicolons
       
    34 #admins=admin@example.com;foo@bar.cz
       
    35 
       
    36 # directory where downloaded files will be saved
       
    37 filetransfer_cache=/var/lib/spectrum/$protocol/filetransfer_cache
       
    38 
       
    39 # URL used to acces filestransfer_cache directory from the web.
       
    40 filetransfer_web=http://example.com/files/
       
    41 
       
    42 # name of transport (this will appear in service discovery)
       
    43 name=My $protocol Transport
       
    44 
       
    45 # default language
       
    46 language=en
       
    47 
       
    48 # transport features separated by semicolons
       
    49 # combination of: avatars, chatstate, filetransfer
       
    50 # if commented, all features will be used
       
    51 # This variable is DEPRECATED and will be removed in future versions. Use [features] instead.
       
    52 #transport_features = avatars;chatstate;filetransfer
       
    53 
       
    54 # if vip_mode is 1, users are divided to 2 groups according to 'vip' database field
       
    55 vip_mode=0
       
    56 
       
    57 # if vip_mode is 1, you can set transport to be availabe only for VIP users by setting only_for_vip to 1.
       
    58 only_for_vip=0
       
    59 
       
    60 # if vip_mode is 1 and only_for_vip is 1, users can connect from these servers even they are not VIP.
       
    61 # This feature is useful, if you want to enable transport only for users from your server, but also want
       
    62 # to give access to VIP users from other servers (for example from GTalk)
       
    63 # seperated by semicolons
       
    64 #allowed_servers=localhost
       
    65 
       
    66 # transport features separated by semicolons which will be used for VIP users.
       
    67 # combination of: avatars, chatstate, filetransfer
       
    68 # if commented, all features will be used
       
    69 # This variable is DEPRECATED and will be removed in future versions.  Use [vip-features] instead.
       
    70 #vip_features = avatars;chatstate;filetransfer
       
    71 
       
    72 # pid file
       
    73 pid_file=/var/run/spectrum/$protocol.pid
       
    74 
       
    75 # require_tls to connect legacy network
       
    76 #require_tls=false
       
    77 
       
    78 # Eventloop used by Spectrum. Allows to change default use of poll to epoll,
       
    79 # which should be faster and handles more connections better.
       
    80 # WARNING: some 3rd party libpurple protocol plugins are not prepared to be
       
    81 # used with different eventloop, but protocols included in libpurple by default
       
    82 # works OK.
       
    83 #eventloop=glib
       
    84 
       
    85 [registration]
       
    86 # Set to 0 to disable transport registration to everyone except
       
    87 # people from host from allowed_servers list.
       
    88 #enable_public_registration=1
       
    89 
       
    90 # You can override username registered by transport user. This is useful
       
    91 # for example if you want to let users to register only their Facebook name
       
    92 # and internally connect them to facebook_name@chat.facebook.com.
       
    93 # $username variable is replaced by username which has been registered
       
    94 # by particular user. 
       
    95 #username_mask = $username@chat.facebook.com
       
    96 
       
    97 # This option allows you to white-list newly created accounts according
       
    98 # to regexp. for example allowed_usernames=*.\.gmail\.com$ will allow only
       
    99 # GTalk users to register. If you use username_mask, then username_mask is
       
   100 # applied before this option.
       
   101 #allowed_usernames=regexp
       
   102 
       
   103 # Label used to described username field in registration form
       
   104 #username_label = Facebook username
       
   105 
       
   106 # This variable overrides default instructions text in registration form.
       
   107 #instructions = Type your Facebook name here:
       
   108 
       
   109 # Transport features, all features are enabled by default.
       
   110 [features]
       
   111 #filetransfer=1
       
   112 #avatars=1
       
   113 #chatstates=1
       
   114 #statistics=1
       
   115 
       
   116 # Transport features for VIP users, all features are enabled by default.
       
   117 [vip-features]
       
   118 #filetransfer=1
       
   119 #avatars=1
       
   120 #chatstates=1
       
   121 
       
   122 [logging]
       
   123 # log file, needs to be unique for each spectrum instance
       
   124 log_file=/var/log/spectrum/$protocol.log
       
   125 
       
   126 # log areas
       
   127 # combination of: xml, purple
       
   128 log_areas=xml;purple
       
   129 
       
   130 [database]
       
   131 # mysql or sqlite
       
   132 type=sqlite
       
   133 
       
   134 # hostname (not needed for sqlite)
       
   135 #host=localhost
       
   136 
       
   137 # username (not needed for sqlite)
       
   138 #user=user
       
   139 
       
   140 # password (not needed for sqlite)
       
   141 #password=password
       
   142 # sqlite: set path to database file here
       
   143 # mysql: set to name of database
       
   144 database=/var/lib/spectrum/$protocol/database/$protocol.sqlite
       
   145 # table prefix for multiple transport instances sharing the same database
       
   146 #prefix=$protocol_
       
   147 
       
   148 [purple]
       
   149 # avatar, vcard, roster storage
       
   150 # needs to be unique for each spectrum instance
       
   151 userdir=/var/lib/spectrum/$protocol/userdir