[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

syntax error 'then"

From: Rafael Torres
Subject: syntax error 'then"
Date: Wed, 29 Jul 2015 00:16:58 -0400

Can someone help me with my syntax error. this is what the config looks like:

check process mongod with pidfile /data/db/mongodb.pd
    start program = "/etc/init.d/mongod start"
    stop program = "/etc/init.d/mongod stop "
if failed then exec " /bin/rm  /var/lib/mongodb/mongod.lock"

but I keep getting syntax error then, what am I doing wrong?

Rafael L. Torres Jr. MSIA, CISSP, S +, N+
1509 Lowell Ct.
Crofton, MD 21114
Cell: 757-876-1986

reply via email to

[Prev in Thread] Current Thread [Next in Thread]