Eki Eqbal
Eki Eqbal

Reputation: 6057

Monit Seems doesn't except '@' in the conf file and consider it as a syntax error : Error: syntax error

I have the following configuration file monit:

check process rabbitmq-server with pidfile /var/lib/rabbitmq/mnesia/[email protected]
  start program = "/etc/init.d/rabbitmq-server start"
  stop program = "/etc/init.d/rabbitmq-server stop"

When I run : sudo service monit restart

Getting this error :

Error: syntax error '/var/lib/rabbitmq/mnesia/[email protected]'

Upvotes: 1

Views: 252

Answers (1)

Eki Eqbal
Eki Eqbal

Reputation: 6057

It seems if it contains special characters, u need to use quotes "/var/lib/rabbitmq/mnesia/[email protected]"

Upvotes: 1

Related Questions