+
Skip to content

BUG: modd does not seem to shutdown deamon processes correctly when getting stopped #124

@Buh13246

Description

@Buh13246

I have a go-based application that needs to save internal data. The application handles signals and stops itself correctly when modd detects a change.

When I stop modd, I would expect that the application also gets a signal and shutdowns correctly. This does not seem to be the case. The application just dies without a good indication why (maybe sigkill).

modd also doesn't log that it want's to send the signal to the process.
normal behaivour:

03:54:21: daemon: ./GTAServerHomepage
>> sending signal terminated
exited: signal: terminated
>> restart backoff... 1000ms
>> starting...

On sigint:

>> starting...
^C>> stopping
➜  backend

Is this the expected behaviour or am i just doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载