smitty icon indicating copy to clipboard operation
smitty copied to clipboard

smitty does not handle command line arguments in the restart_command declared in agent.yml file

Open shikhartanwar opened this issue 10 years ago • 0 comments

Smitty does not execute the command specified against "restart_command" option in the agent.yml file if the command specified has command line arguments!

So, /etc/init.d/twemproxy restart won't work assuming there is an init script present for twemproxy!

Following is a sample log: Cannot restart twemproxy. output: . error: exec: "/etc/init.d/twemproxy restart": stat /etc/init.d/twemproxy restart: no such file or directory

shikhartanwar avatar Jun 16 '15 12:06 shikhartanwar