Skip to content

Commit

Permalink
Fix working directory
Browse files Browse the repository at this point in the history
Signed-off-by: Jacques Marneweck <jacques@powertrip.co.za>
  • Loading branch information
jacques committed Nov 14, 2012
1 parent 99dea95 commit 5880bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nagios.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<service_fmri value='file:///opt/local/etc/nagios/nagios.cfg'/>
</dependency>
<exec_method name='start' type='method' exec='/opt/local/bin/nagios -d /opt/local/etc/nagios/nagios.cfg' timeout_seconds='60'>
<method_context working_directory='/var/spool/exim' project='default'>
<method_context working_directory='/tmp' project='default'>
<method_credential user='root' group='root'/>
<method_environment>
<envvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin'/>
Expand All @@ -45,4 +45,4 @@
</common_name>
</template>
</service>
</service_bundle>
</service_bundle>

0 comments on commit 5880bc1

Please sign in to comment.