caddy/server
Matthew Holt 5cced604e4 startup: Only run commands at first startup
We had to hack some special support into the server and caddy packages for this. There are some middlewares which should only execute commands when the original parent process first starts up. For example, someone using the startup directive to start a backend service would not expect the command to be executed every time the config was reloaded or changed - only once when they first started the original caddy process.

This commit adds FirstStartup to the virtualhost config
2015-11-10 19:46:18 -07:00
..
config.go startup: Only run commands at first startup 2015-11-10 19:46:18 -07:00
graceful.go core: Major refactor for graceful restarts; numerous fixes 2015-10-26 13:34:31 -06:00
server.go startup: Only run commands at first startup 2015-11-10 19:46:18 -07:00
virtualhost.go Moved fileServer and browse.IndexPages into middleware package 2015-09-19 20:35:48 -06:00