/etc/init/shutdown.conf is in upstart 1.11-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | # Trigger an immediate shutdown when upstart receives SIGPWR
# this is useful for some UPS monitoring tools and for clean
# shutdown of containers
description "Trigger an immediate shutdown on SIGPWR"
start on power-status-changed
task
exec shutdown -h now "SIGPWR received"
|