Reputation: 6057
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
Reputation: 6057
It seems if it contains special characters, u need to use quotes "/var/lib/rabbitmq/mnesia/[email protected]"
Upvotes: 1