Skip to content

Support newer python daemon package#87

Open
rkojedzinszky wants to merge 2 commits intogrnet:masterfrom
rkojedzinszky:python_daemon
Open

Support newer python daemon package#87
rkojedzinszky wants to merge 2 commits intogrnet:masterfrom
rkojedzinszky:python_daemon

Conversation

@rkojedzinszky
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@ioparaskev ioparaskev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these are breaking changes (in case someone doesn't update the python-daemon version) a more regression-friendly should be used.

For example

try:
    import daemon.pidlockfile as daemon_pid
except ImportError:
    import daemon.pidfile as daemon_pid

and then use the daemon_pid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants