~ubuntu-branches/ubuntu/trusty/syslog-ng/trusty-proposed

« back to all changes in this revision

Viewing changes to contrib/solaris-packaging/syslog-ng.example.xml

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2010-03-28 19:47:36 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100328194736-1ob7kh1qr0fy8b9k
Tags: 3.1.0-1
* New upstream release.
* Fix path of syslog logfile (closes: #575722) and use tty10 instead of
  vc/10 to log on console.
* Provide syslog-ng in initscript (closes: #575723).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
            <service_fmri value='svc:/milestone/sysconfig' />
18
18
    </dependency>
19
19
 
20
 
    <!--
21
 
      syslogd(1M) can log to non-root local directories.
22
 
    -->
23
20
    <dependency
24
21
            name='filesystem'
25
22
            grouping='require_all'
39
36
            <service_fmri value='svc:/system/filesystem/autofs' />
40
37
    </dependency>
41
38
 
42
 
    <!--
43
 
      syslogd(1M) needs nameservice resolution to log to remote hosts.
44
 
    -->
45
39
    <dependency
46
40
            name='name-services'
47
41
            grouping='require_all'
57
51
            <service_fmri value='svc:/milestone/multi-user' />
58
52
    </dependent>
59
53
 
60
 
    <!--
61
 
            The system-log start method includes a "savecore -m".
62
 
            Use an appropriately long timeout value.
63
 
    -->
64
 
 
65
54
    <exec_method
66
55
      type='method'
67
56
      name='start'
92
81
      </method_context>
93
82
    </exec_method>
94
83
 
 
84
    <exec_method
 
85
      type='method'
 
86
      name='refresh'
 
87
      exec='/lib/svc/method/syslog-ng %m'
 
88
      timeout_seconds='60' >
 
89
      <method_context>
 
90
        <method_credential user='root' />
 
91
      </method_context>
 
92
    </exec_method>
 
93
 
95
94
    <property_group name='general' type='framework'>
96
95
            <!-- to start stop syslog daemon -->
97
96
            <propval name='action_authorization' type='astring'