Ad Widget

Collapse

initctl control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pixie79
    Junior Member
    • Jun 2012
    • 1

    #1

    initctl control

    Hi,

    Does anyone have a working script to start zabbix-agent upon startup of a server. I have tried to create an initctl script but it seems to hang on both start and stop and never starts the process.

    This is what i have:
    description "Zabbix Agent"
    start on started network
    stop on stopping network

    expect fork
    respawn
    respawn limit 10 5
    oom never
    script
    exec /usr/local/sbin/zabbix_agentd
    end script

    Thanks

    Mark
Working...