From 946c2daf3f654475e767ae98e52cbcd69e2c3320 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 11 Feb 2009 16:06:04 -0500 Subject: add example upstart events for logging These can be used to add system start/stop/restart logging but hooking into Upstart event mechanism. --- data/ck-log-system-restart | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/ck-log-system-restart (limited to 'data/ck-log-system-restart') diff --git a/data/ck-log-system-restart b/data/ck-log-system-restart new file mode 100644 index 0000000..03c2792 --- /dev/null +++ b/data/ck-log-system-restart @@ -0,0 +1,8 @@ +# Upstart event +# ck-log-system-restart - write system restart to log +# + +start on runlevel 6 + +console output +exec /usr/sbin/ck-log-system-restart -- cgit