Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Startupscripts for Linux

  • Startupscripts for Linux

    Posted by Dassing on January 10, 2007 at 11:29

    > $PANDORA_PATH/pandora.log &
    # MYPID=$!
    # echo $MYPID > $PIDFILE
    su – pandora “$PANDORA_PATH/$DAEMON $PANDORA_PATH >> $PANDORA_PATH/pandora.log &”
    sleep 1
    MYPID=`ps auxw | grep $PANDORA_PATH/$DAEMON | grep -v “grep” | head -1 | awk ‘{ print $2;}’`
    echo $MYPID > $PIDFILE
    echo “Pandora Agent is now running with PID $MYPID”
    ;;

    I used “su” to start the agent under account pandora but made sure that
    the pid files are stored as root.
    Similiar setups were done for the other startup scripts.

    Maybe, this post is of any help for you.

    Regards,

    R.D.

    Dassing replied 18 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.