Changes

From SME Server
Jump to navigationJump to search
Line 330: Line 330:  
Create and edit a new file called 'NOTIFYCMD' with the following content:
 
Create and edit a new file called 'NOTIFYCMD' with the following content:
 
  NOTIFYCMD /usr/sbin/upssched
 
  NOTIFYCMD /usr/sbin/upssched
 +
 +
Expand the template:
 +
expand-template /etc/ups/upsmon.conf
    
Now create another a custom template directory
 
Now create another a custom template directory
Line 351: Line 354:  
AT ONBATT * START-TIMER shutdownnow 120
 
AT ONBATT * START-TIMER shutdownnow 120
 
to how many seconds after ONBATT signal you want to shut down
 
to how many seconds after ONBATT signal you want to shut down
 +
 +
Expand the template:
 +
expand-template /etc/ups/upssched.conf
    
Create and edit a new script file at:
 
Create and edit a new script file at:
137

edits

Navigation menu