Added gracefull exit function with trap of SIGQUIT, SIGTERM and SIGKILL

This commit is contained in:
tigerblue77 2022-04-13 13:53:37 +02:00
parent 3db2083f1f
commit ce84e2cbed
2 changed files with 32 additions and 9 deletions

View file

@ -19,4 +19,4 @@ ENV FAN_SPEED 5
ENV CPU_TEMPERATURE_TRESHOLD 50
ENV CHECK_INTERVAL 60
CMD /Dell_iDRAC_fan_controller.sh
CMD ["/Dell_iDRAC_fan_controller.sh"]