Documentation ¶
Overview ¶
Copyright (C) NHR@FAU, University Erlangen-Nuremberg. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropPrivileges ¶
Changes the processes user and group to that specified in the config.json. The go runtime takes care of all threads (and not only the calling one) executing the underlying systemcall.
func LoadEnv ¶
Very simple and limited .env file reader. All variable definitions found are directly added to the processes environment.
func SystemdNotifiy ¶
If started via systemd, inform systemd that we are running: https://www.freedesktop.org/software/systemd/man/sd_notify.html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.