Skip to content

Files

Latest commit

7010157 · May 29, 2019

History

History

sd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 20, 2016
Mar 26, 2017
Sep 20, 2016
May 29, 2019
May 29, 2019
May 28, 2019
May 29, 2019
May 29, 2019
May 24, 2019
May 24, 2019
May 29, 2019
Jun 13, 2017
Sep 19, 2016
Jun 13, 2017

gone/sd

Golang systemd library GoDoc

Package gone/sd provides tools for having daemons interact with the Linux systemd init system for socket activation and notification.

This library aims to make it easy to write graceful daemons for Linux Systemd services in the "newstyle" way:

http://www.freedesktop.org/software/systemd/man/daemon.html

Overview

Package gone/sd consists of two parts.

  • Communicating over the systemd notify socket to inform systemd about process status and send file descriptors to the systemd FDSTORE

  • Replacement functions for some of the stdlib "net" package for parsing the environment passed on from systemd to create sockets (and other files) inherited from systemd.