/[projects]/smsdaemon/smsdaemon.conf
ViewVC logotype

Annotation of /smsdaemon/smsdaemon.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 205 - (hide annotations) (download)
Fri Dec 19 22:29:25 2008 UTC (15 years, 5 months ago) by torben
File size: 1390 byte(s)
Enable selection and configuration of loaded plugins to be specified in the configuration file

1 torben 147 [smsdaemon]
2    
3     # Option transceiver
4     # which transceiver should be used:
5     # possible values:
6     # * internal
7     # * smstools
8     # * debug
9 torben 152 transceiver = smstools
10 torben 147
11    
12 torben 152 #Which user / group should the daemon run as
13     #
14     user = smsd
15     group = smsd
16 torben 168
17    
18 torben 175 # Where should logmessages go
19     # options:
20     # logfile : logs to /var/log/smsdaemon.log)
21     # syslog : use the system logger
22     log = logfile
23 torben 168
24 torben 205 # Option plugin
25     # Specify which plugin(s) should be loaded
26     # Several plugin statements are allowed
27     # syntax
28     # plugin = <pluginname> [arguments]
29     plugin = echo
30     plugin = spam
31     plugin = status
32     plugin = hoststatus
33     plugin = tog
34     plugin = weather
35     plugin = list
36     plugin = urltrigger trigger=tou; url=http://t-hoerup.dk/test.php
37     plugin = shellexec trigger=wake; cmd=/usr/local/bin/wake; allowparms=0; returnoutput=0
38     plugin = shellexec trigger=ping; cmd=nmap -sP 192.168.10.1-255 | grep appears | awk '{print $2}'; allowparms=0; returnoutput=1
39 torben 175
40    
41 torben 205
42 torben 168 #config section for internal gsm modem transceiver
43     [gsmmodem]
44    
45     # Option serialport
46     # Specifies which serial port the modem is attached to
47     serialport = /dev/ttyUSB0
48    
49    
50 torben 171 # Option pin
51     # PIN code for the SIM card
52 torben 205 pin = 0067
53 torben 168
54 torben 171
55 torben 205
56 torben 168 #this is the config section if the smstools transceiver is chosen
57     [smstools]
58    
59     # Option inboxdir
60     # where should the files be read from
61     inboxdir = /var/spool/sms/inbox
62    
63     # Option outgoingdir
64     # where should the outgoing messages be written
65     outgoingdir = /var/spool/sms/outgoing

  ViewVC Help
Powered by ViewVC 1.1.20