diff options
author | David Walter Seikel | 2011-11-27 19:31:33 +1000 |
---|---|---|
committer | David Walter Seikel | 2011-11-27 19:31:33 +1000 |
commit | d8b6646a004060edf073b96065fdbb979baa2f68 (patch) | |
tree | 4f8d9af35f9758037cca167d255eaecb8e02c97e /opensim-monit.conf | |
parent | Rename the start up script. (diff) | |
download | IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.zip IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.gz IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.bz2 IGnoble-d8b6646a004060edf073b96065fdbb979baa2f68.tar.xz |
Trying to make things safer for upgrades and some general tweaks.
Diffstat (limited to '')
-rw-r--r-- | opensim-monit.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opensim-monit.conf b/opensim-monit.conf index f28c76c..c98ad91 100644 --- a/opensim-monit.conf +++ b/opensim-monit.conf | |||
@@ -20,7 +20,7 @@ | |||
20 | # see ../README for configuration instructions. | 20 | # see ../README for configuration instructions. |
21 | # | 21 | # |
22 | check process sim01 with pidfile /var/run/opensim/sim01.pid | 22 | check process sim01 with pidfile /var/run/opensim/sim01.pid |
23 | start program = "/bin/bash -c 'cd /opt/opensim/config/sim01 && /opt/opensim/sim01/start-sim-in-rest -q'" | 23 | start program = "/bin/bash -c 'cd /opt/opensim/config/sim01 && /opt/opensim/sim01/start-sim -q'" |
24 | as uid opensim and gid opensim | 24 | as uid opensim and gid opensim |
25 | stop program = "/bin/kill -9 `cat /var/run/opensim/sim01.pid`" | 25 | stop program = "/bin/kill -9 `cat /var/run/opensim/sim01.pid`" |
26 | # if cpu usage > 300% for 4 cycles then restart | 26 | # if cpu usage > 300% for 4 cycles then restart |