Skip to content

Commit 8ec60f0

Browse files
committed
README: add a note about the watchdog
1 parent cbec31e commit 8ec60f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Native implementation of the sd-daemon subset of libsystemd. Providing socket ac
66

77
```javascript
88
var sd = require('systemd-daemon');
9+
/* Enable watchdog reporting if required by the unit file.
10+
Use sd.watchdog.stop() once you shutdown your app. */
911
sd.watchdog.start();
1012

1113
/* Listen on systemd socket if available, else port 3000 */

0 commit comments

Comments
 (0)