Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Uninterruptable Power Supply
(view source)
Revision as of 19:27, 13 March 2016
122 bytes added
,
19:27, 13 March 2016
→Shutdown Time Delay Example
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:
Apmuthu
137
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search