Skip to content

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

@shikhartanwar

Description

@shikhartanwar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions