parallella / parallella-utils

Library of various community contributed Parallella board admin scripts and programs
Other
39 stars 19 forks source link

Thermal wathcdog started N times? #5

Closed aolofsson closed 8 years ago

aolofsson commented 8 years ago

cc @olajep

Might be user error, was this the correct way to disable?

# parallella-thermald - Parallella Thermal Watchdog
#
# Disables Epiphany chip if system temperature gets to high/low.

description     "Parallella Thermal Watchdog"

start on runlevel [2345]
stop on runlevel [!2345]

respawn
respawn limit 10 5
umask 022

env EPIPHANY_HOME=/opt/adapteva/esdk
# Uncomment below line to modify upper temperature limit
#env THERMALD_MAX_TEMP=70

console none

pre-start script
end script

script
    #. $EPIPHANY_HOME/setup.sh
    #/usr/sbin/parallella-thermald 2>&1 | logger -t parallella-thermald
end script

LOG FILE FROM BOOT

olajep commented 8 years ago

no correct way is

echo manual | sudo tee /etc/init/parallella-thermald.override

https://askubuntu.com/questions/19320/how-to-enable-or-disable-services

olajep commented 8 years ago

user error ;) (and irrelevant in Pubuntu 2016.3) Right way to disable in Pubuntu 2016.3:

sudo systemctl mask "parallella-thermald@.service"