Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julienschmidt/systemd
Native systemd integration for Go (golang) programs
https://github.com/julienschmidt/systemd
go golang journal journald logging socket-activation sockets systemd zero-downtime
Last synced: 3 months ago
JSON representation
Native systemd integration for Go (golang) programs
- Host: GitHub
- URL: https://github.com/julienschmidt/systemd
- Owner: julienschmidt
- License: mit
- Created: 2017-04-29T06:02:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T16:27:36.000Z (over 7 years ago)
- Last Synced: 2024-06-20T13:31:04.507Z (7 months ago)
- Topics: go, golang, journal, journald, logging, socket-activation, sockets, systemd, zero-downtime
- Language: Go
- Homepage: https://godoc.org/github.com/julienschmidt/systemd
- Size: 27.3 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# systemd [![Build Status](https://travis-ci.org/julienschmidt/systemd.svg?branch=master)](https://travis-ci.org/julienschmidt/systemd) [![Coverage Status](https://coveralls.io/repos/github/julienschmidt/systemd/badge.svg?branch=master)](https://coveralls.io/github/julienschmidt/systemd?branch=master) [![GoDoc](https://godoc.org/github.com/julienschmidt/systemd?status.svg)](https://godoc.org/github.com/julienschmidt/systemd)
This package provides native systemd integration for Go programs.
## Socket Activation
systemd socket activation (or any other compatible socket passing system passing sockets via `LISTEN_FDS` enviornment variables) is enabled by [systemd.Listen](https://godoc.org/github.com/julienschmidt/systemd#Listen) and [systemd.ListenWithNames](https://godoc.org/github.com/julienschmidt/systemd#ListenWithNames).