Skip to content
Snippets Groups Projects
Commit 84b424dc authored by Theo Schlossnagle's avatar Theo Schlossnagle
Browse files

the sample resmon.conf should have a port and use a better status file...

the sample resmon.conf should have a port and use a better status file location (that works with zones) and the SMF should reference a nice zone-local place like /etc/

git-svn-id: https://labs.omniti.com/resmon/trunk@65 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
parent 4a0f8e27
No related branches found
No related tags found
No related merge requests found
INTERVAL 60;
STATUSFILE /opt/thttpd/www/status.txt;
PORT 81;
STATUSFILE /var/run/resmon-status.txt;
DATE {
# Just adds the time, so we can check to see if it has changed
......
......@@ -18,7 +18,7 @@
restart_on='refresh'
type='path'>
<service_fmri
value='file://localhost/opt/resmon/resmon.conf' />
value='file://localhost/etc/resmon.conf' />
</dependency>
<dependency
......@@ -32,7 +32,7 @@
<exec_method
type='method'
name='start'
exec='/opt/resmon/resmon'
exec='/opt/resmon/resmon -c /etc/resmon.conf'
timeout_seconds='60' />
<exec_method
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment