File: ipp-os-shutdown.conf.sample

package info (click to toggle)
nut 2.8.4%2Breally-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,720 kB
  • sloc: ansic: 132,030; sh: 17,256; cpp: 12,566; makefile: 5,646; python: 1,114; perl: 856; xml: 47
file content (33 lines) | stat: -rw-r--r-- 1,241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# ipp-os-shutdown.conf
#
# Settings that specify typical shutdown commands for various supported OSes
# Version for AIX
#

# The program which executes an OS shutdown, maybe including flags that
# disable its interactive mode
CMD_SHUTDOWN="/usr/sbin/shutdown"

# Depending on OS and hardware support, "poweroff" option may tell the
# host's power source units to cut off their power to the motherboard,
# and "halt" may sit forever at the "OS is stopped" prompt or equivalent.
# NOTE: Yes, according to AIX man pages, the letters are not matched
# with the tag-words: "-p" leaves the machine halted and powered-on,
# and "-h" tries to kill power in the end.
SDFLAG_POWEROFF="-h"
SDFLAG_REBOOT="-r"
SDFLAG_HALT="-p"

# The flag for quick stop (shorter service stop timeouts and fewer/no
# logs, or outright go to kill remaining processes)
SDFLAG_UNGRACEFUL="-F"

# Trigger a shutdown without delay
SDFLAG_INSTANT="+0"

## Filename to store the PID of a pending shutdown
## If this file is absent, the shutdown can not be canceled (killed)
## If the "${SHUTDOWN_PIDFILE}.irreversible" exists and points to running PID
## then the new shutdown can not be queued (caller must cancel old one first)
SHUTDOWN_PIDFILE="/var/run/nut/shutdown.pid"