Skip to content

Commit

Permalink
readme: Clarify behavior on non-systemd systems
Browse files Browse the repository at this point in the history
  • Loading branch information
bb4242 authored Jun 15, 2017
1 parent cc7da0c commit 417f0a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ completion, watchdog events, and other service status changes. Thus, this
package can be used to write system services in Python that play nicely with
`systemd`. `sdnotify` is compatible with both Python 2 and Python 3.

Normally the `SystemdNotifier.notify` method silently ignores exceptions (for example, if the
systemd notification socket is not available) to allow applications to
function on non-systemd based systems. However, setting `debug=True` will
cause this method to raise any exceptions generated to the caller, to
aid in debugging.

# Example Usage

This is an example of a simple Python service that informs `systemd` when its
Expand Down

0 comments on commit 417f0a5

Please sign in to comment.