A non deamon mode for using openlitespeed in LXC Docker containers

Discussion in 'OpenLiteSpeed Suggestions and Requests' started by wanah, Jul 21, 2014.

  1. wanah

    wanah New Member


    Unless I'm mistaken, Openlitespeed is one of the only opensource webserver's that can't be run the the foreground, a requirement for running it in Docker LXC Containers.

    Apache can be run with -DFOREGROUND, nginix has a daemon off mode, lighttpd can be run with -D to run in foreground, but I haven't found a way to do this with openlitespeed.

    Docker helps run applications accross different operating systems, making it easy to deply the same software in developpement and production plateforms and scale nodes…
    lsmichael likes this.
  2. lsmichael

    lsmichael Active Member

    /usr/local/lsws/bin/openlitespeed -d


    Thanks for asking. This has to be done from the command line and you should stop your current instance of OpenLiteSpeed first.

  3. wanah

    wanah New Member

    Thanks, it works !

    I'll now be able to test running openlitespeed in docker in the next few days !

    Docker does run it from command line and I don't think anything is launched except the specified software command when running a container.
    Last edited: Jul 21, 2014
    lsmichael likes this.
  4. lsmichael

    lsmichael Active Member

    Let us know if you run into any problems!


Share This Page