File thinkfan.service of Package thinkfan

[Unit]
Description=A minimalist fan control program
Documentation=https://github.com/vmatare/thinkfan
ConditionFileNotEmpty=/etc/thinkfan/conf
Wants=lm_sensors.service
After=lm_sensors.service

[Service]
Type=forking
DynamicUser=true
User=thinkfan
Group=thinkfan
CapabilityBoundingSet=CAP_DAC_OVERRIDE
AmbientCapabilities=CAP_DAC_OVERRIDE
PrivateDevices=true
ProtectClock=true
ProtectKernelLogs=true
ProtectControlGroups=true
ProtectKernelModules=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
RestrictNamespaces=true
ProtectHostname=true
LockPersonality=true
RestrictAddressFamilies=AF_UNIX
RestrictRealtime=true
ProtectHome=yes
ProtectProc=invisible
ProcSubset=pid
PrivateNetwork=true
PrivateUsers=true
SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete @privileged @raw-io @reboot @resources @swap
IPAddressDeny=any
UMask=0066
ConfigurationDirectory=thinkfan
RuntimeDirectory=thinkfan
EnvironmentFile=-/etc/thinkfan/env
TasksMax=3
ExecStart=/usr/bin/thinkfan -c /etc/thinkfan/conf ${THINKFAN_ARGS}
PIDFile=/run/thinkfan/pid
ExecReload=/bin/kill -HUP ${MAINPID}

[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
Also=thinkfan-wakeup.service
openSUSE Build Service is sponsored by