Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

changed asp_state to listen for (unix) signals #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wolfff
Copy link

@wolfff wolfff commented Aug 20, 2015

instead reading console when to quit. This helps running asp_state as a (unix) service daemon.

@wolfff wolfff closed this Aug 20, 2015
@wolfff wolfff reopened this Aug 20, 2015
@wolfff
Copy link
Author

wolfff commented Aug 20, 2015

This should help to fix https://bugzilla.xamarin.com/show_bug.cgi?id=7838 asp-state unable to use in daemon

@jgowdy
Copy link
Contributor

jgowdy commented Aug 20, 2015

Seems much better than the console readline.

@jgowdy
Copy link
Contributor

jgowdy commented Aug 20, 2015

How does this affect Mono on Windows? Are the POSIX signals emulated properly for the close console window, CTRL-C, and shutdown cases? Or do we need runtime detection of OS?

@wolfff wolfff changed the title changed asp_state to listen for (unix) singnals changed asp_state to listen for (unix) signals Aug 20, 2015
@marxin
Copy link

marxin commented May 11, 2019

I've just tested the patch and it works fine with systemd. Can you please merge it?

Base automatically changed from master to main March 15, 2021 16:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants