|
| 1 | +# run with |
| 2 | +#twistd -n recceiver -f <thisfile>.conf |
| 3 | + |
| 4 | +[recceiver] |
| 5 | + |
| 6 | +# Logging detail level. Use python logging level name. |
| 7 | +loglevel = INFO |
| 8 | + |
| 9 | +# list of broadcast addresses. |
| 10 | +addrlist = 255.255.255.255:5049 |
| 11 | + |
| 12 | +# Listen for TCP connections on this interface and port. |
| 13 | +# Port also used as source for UDP broadcasts. |
| 14 | +# Default uses wildcard address and a random port. |
| 15 | +bind = 0.0.0.0:0 |
| 16 | + |
| 17 | +# Processing chain |
| 18 | +# sequence of plugin names seperated by ',' |
| 19 | +# |
| 20 | +# Plugin names may be followed by an instance name (eg. "db:arbitrary") |
| 21 | +# which allows for more than one instance of a plugin with different |
| 22 | +# configuration |
| 23 | +# |
| 24 | +# Default plugins |
| 25 | +# show - Prints information to daemon log |
| 26 | +# |
| 27 | +# eg. print and store in database. Database config from section "[lite]" |
| 28 | +# Show config from "[show]" although show has no options at present. |
| 29 | +procs = cf, show, db:lite |
| 30 | + |
| 31 | +# Time interval for sending recceiver advertisments |
| 32 | +announceInterval = 15.0 |
| 33 | + |
| 34 | +# Idle Timeout for TCP connections. |
| 35 | +tcptimeout = 15.0 |
| 36 | + |
| 37 | +# Time to wait before commiting updates |
| 38 | +# Doesn't effect IOC clients |
| 39 | +commitInterval = 5.0 |
| 40 | + |
| 41 | +# Maximum concurrent "active" clients |
| 42 | +# to allow. |
| 43 | +maxActive = 20 |
| 44 | + |
| 45 | + |
| 46 | +[lite] # example of "db" plugin config |
| 47 | +# Database access module |
| 48 | +dbtype = sqlite3 |
| 49 | + |
| 50 | +# DB name |
| 51 | +# filename for sqlite3 |
| 52 | +dbname = test.db |
| 53 | + |
| 54 | +# Accessor ID key |
| 55 | +# Allows multiple server daemons to share a common database. |
| 56 | +# Must be unique for each instance accessing |
| 57 | +# a common database. |
| 58 | +idkey = 42 |
| 59 | + |
| 60 | + |
| 61 | +[cf] |
| 62 | +# cf-store application |
| 63 | + |
| 64 | +# A space-separated list of infotags to set as CF Properties |
| 65 | +infotags = archive |
| 66 | + |
| 67 | +# Feature to add CA/PVA port info for name server to channelfinder |
| 68 | +iocConnectionInfo = on |
| 69 | + |
| 70 | +# Add alias records to channelfinder |
| 71 | +alias = on |
| 72 | + |
| 73 | +# Add EPICS record type to channelfinder |
| 74 | +recordType = on |
| 75 | + |
| 76 | +# Add description field to channelfinder |
| 77 | +recordDesc = on |
| 78 | + |
| 79 | +# The size limit for finding channels (ie the value of the '~size' query parameter) |
| 80 | +# If not specified then the fallback is the server default |
| 81 | +#findSizeLimit = 10000 |
| 82 | + |
| 83 | +# Mark all channels as 'Inactive' when processor is stopped (default: True) |
| 84 | +cleanOnStop = True |
| 85 | + |
| 86 | +# Mark all channels as 'Inactive' when processor is started (default: True) |
| 87 | +cleanOnStart = True |
| 88 | + |
| 89 | +# Specify an optional id for the recceiver to be used with cleanOnStart and cleanOnStop |
| 90 | +# default value is the hostname of the machine the python interpreter is started on |
| 91 | +#recceiverID = recc1 |
| 92 | + |
| 93 | +# Comma-separated list of VARIABLE:PropertyName, |
| 94 | +# specifying which environment VARIABLEs to pass on to the channel finder |
| 95 | +# and defining the corresponding PropertyName |
| 96 | +environment_vars=ENGINEER:Engineer,EPICS_BASE:EpicsVersion,PWD:WorkingDirectory |
| 97 | + |
| 98 | +# Specify the timezone in the time output |
| 99 | +timezone = True |
| 100 | + |
| 101 | +# The channelFinder client is configuration information is |
| 102 | +# stored in /etc/channelfinderapi.conf as described in the client |
| 103 | +# Can be configured to be this file, like so: |
| 104 | +[DEFAULT] |
| 105 | +BaseURL=http://channelfinder.site:8080/ChannelFinder |
| 106 | +username=MyUserName |
| 107 | +password=MyPassword |
0 commit comments