summaryrefslogtreecommitdiffstats
path: root/data/ck-log-system-start
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2009-02-11 16:06:04 -0500
committerWilliam Jon McCann <jmccann@redhat.com>2009-02-11 16:11:49 -0500
commit946c2daf3f654475e767ae98e52cbcd69e2c3320 (patch)
tree261b4e68a82866821237f3fff3beea98dfebbb76 /data/ck-log-system-start
parente0d9cc359b3099307067107b59ec691418e280b8 (diff)
add example upstart events for logging
These can be used to add system start/stop/restart logging but hooking into Upstart event mechanism.
Diffstat (limited to 'data/ck-log-system-start')
-rw-r--r--data/ck-log-system-start8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/ck-log-system-start b/data/ck-log-system-start
new file mode 100644
index 0000000..2088265
--- /dev/null
+++ b/data/ck-log-system-start
@@ -0,0 +1,8 @@
+# Upstart event
+# ck-log-system-start - write system start to log
+#
+
+start on startup
+
+console output
+exec /usr/sbin/ck-log-system-start