Thu, 02 Aug 2012 22:07:29 +0200
Correct and update smf(5) logic to accommodate latest vendor version.
Support older and newer platforms by condtionally installing the
manifest to either /var/svc or cacnonical /lib/svc, and avoid usage of
svccfg(1) delete now considered risky. Leverage create_default_instance
smf macro to specify default instance instead of using instance element.
Provide a refresh execution method along with start and stop. Neither
change permissions of manifest nor call the redundant svcadm(1) disable.
michael@64 | 1 | ## |
michael@64 | 2 | ## fsl.arpwatch -- OSSP fsl configuration |
michael@64 | 3 | ## |
michael@64 | 4 | |
michael@64 | 5 | ident (arpwatch)/.+ q{ |
michael@64 | 6 | prefix( |
michael@64 | 7 | prefix="%b %d %H:%M:%S %N <%L> $1[%P]: " |
michael@64 | 8 | ) |
michael@64 | 9 | -> { |
michael@64 | 10 | debug: file( |
michael@64 | 11 | path="@l_prefix@/var/arpwatch/log/arpwatch.log", |
michael@64 | 12 | perm=0644 |
michael@64 | 13 | ) |
michael@64 | 14 | } |
michael@64 | 15 | }; |
michael@64 | 16 | |
michael@64 | 17 | ident (arpsnmp)/.+ q{ |
michael@64 | 18 | prefix( |
michael@64 | 19 | prefix="%b %d %H:%M:%S %N <%L> $1[%P]: " |
michael@64 | 20 | ) |
michael@64 | 21 | -> { |
michael@64 | 22 | debug: file( |
michael@64 | 23 | path="@l_prefix@/var/arpwatch/log/arpsnmp.log", |
michael@64 | 24 | perm=0644 |
michael@64 | 25 | ) |
michael@64 | 26 | } |
michael@64 | 27 | }; |
michael@64 | 28 |