Modules
Create lock file and prevent running 2 identical services. NOTE: For 2 amdfand services you may just give 2 different names
Structs
Enums
Statics
pulse width modulation fan level (0-255)
pulse width modulation fan control maximum level (255)
pulse width modulation fan control minimum level (0)
pulse width modulation fan control method (0: no fan speed control, 1: manual fan speed control using pwm interface, 2: automatic fan speed control)
Functions
Reset reload config flag
Check if application received SIGHUP and must reload config file
Listen for SIGHUP signal. This signal is used to reload config