util

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package util contains utility functions related to systemd that applications can use to check things like whether systemd is running.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRunningSystemd

func IsRunningSystemd() bool

IsRunningSystemd checks whether the host was booted with systemd as its init system. This functions similar to systemd's `sd_booted(3)`: internally, it checks whether /run/systemd/system/ exists and is a directory. http://www.freedesktop.org/software/systemd/man/sd_booted.html

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL