core icon indicating copy to clipboard operation
core copied to clipboard

App_Offline - Linux/Apache

Open mbuchok opened this issue 8 years ago • 3 comments

Issue Title

app_offline equivalent for Linux/Apache

General

Perhaps I'm still a little new to Linux, but is there an app_offline equivalent for dotnet core hosted in a Linux environment... specifically using CentOS and Apache?

mbuchok avatar Nov 06 '18 16:11 mbuchok

What is app_offline? Is it ASP.NET concept? Like this one: https://stackoverflow.com/questions/1153449/asp-net-2-0-how-to-use-app-offline-htm

karelz avatar Nov 06 '18 16:11 karelz

Yes, just like that concept ... but doesn't work in a Linux environment since it appears to relate strictly to IIS.

... unless, however, maybe just running a command to stop the service would work just as well? Would 'systemctl stop myservice' have the same effect? Mind you, the app wouldn't serve an offline page - would be nice to serve a page to the user saying a site is down for maintenance or something.

mbuchok avatar Nov 06 '18 17:11 mbuchok

This issue was moved to aspnet/AspNetCore#3949

Eilon avatar Nov 06 '18 19:11 Eilon