pidfile

package
v0.0.0-...-f4cfdf3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 14

Documentation

Overview

Package pidfile implements functions to interact with the pid file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path() string

Path returns a suitable location for the pidfile under Linux

func WritePID

func WritePID(pidFilePath string) error

WritePID writes the current PID to a file, ensuring that the file doesn't exist or doesn't contain a PID for a running process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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