Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
prevent nut shutting down OS and UPS
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbui committed Dec 2, 2018
1 parent ae8ee5e commit 452eb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/nut/templates/upsmon.conf.j2
Expand Up @@ -110,7 +110,7 @@ MINSUPPLIES 1
#
# This should work just about everywhere ... if it doesn't, well, change it.

SHUTDOWNCMD "/sbin/shutdown -h +0"
# SHUTDOWNCMD "/sbin/shutdown -h +0"

# --------------------------------------------------------------------------
# NOTIFYCMD <command>
Expand Down Expand Up @@ -201,7 +201,7 @@ DEADTIME 15
# [[UPS_shutdown]] "Configuring automatic shutdowns for low battery events"
# or refer to the online version.

POWERDOWNFLAG /etc/killpower
# POWERDOWNFLAG /etc/killpower

# --------------------------------------------------------------------------
# NOTIFYMSG - change messages sent by upsmon when certain events occur
Expand Down

0 comments on commit 452eb0e

Please sign in to comment.