Blog

Saturday, November 19, 2011

How to Configure Pre/Post-Service

The Pre-Service and Post-Service tab allows applications to be run during service startup and service shutdown. Pre-service and post-service programs are always run during service start-ups, controlled shutdowns, and intentional restarts.

- From the FireDaemon Pro manual. A good example where this would be useful is the following: You have a web server like Apache and PHP installed. If PHP shuts down while Apache is running, anyone can see the contents of your PHP files (they can even see your mysql username/password in config files). To prevent this from happening, you would set PHP as a Post-Service program of Apache. That way when Apache is started/restarted, it automatically starts PHP for you.

 

Comments
Post has no comments.



Captcha Image

Recent Posts



Tags


Archive

    Sign up for Product Updates and Discounts
    Captcha Image
    ×