Skip to content

PID file is not created when passing "no detach" option (-D) #71

@gregkare

Description

@gregkare

I wanted to check with you before working on a pull request to fix this, to make sure there's not something I'm missing here.

It seems the only way to make remote_syslog work with upstart is to pass the "no detach" option. I'm having problems with the init script and I can't reproduce them reliably so I'm switching to upstart. I would like to keep using monit to send alerts when remote_syslog goes down (it's been unreliable), so I need a PID file to be present.

When not running in normal mode Servolux::Server#startup creates the PID file as expected. However it's not created by RemoteSyslog::Agent#run in "no detach" mode. Is this by design?

Thanks in advance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions