diff options
author | William Jon McCann <jmccann@redhat.com> | 2009-02-11 16:06:04 -0500 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2009-02-11 16:11:49 -0500 |
commit | 946c2daf3f654475e767ae98e52cbcd69e2c3320 (patch) | |
tree | 261b4e68a82866821237f3fff3beea98dfebbb76 /data/ck-log-system-restart | |
parent | e0d9cc359b3099307067107b59ec691418e280b8 (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-restart')
-rw-r--r-- | data/ck-log-system-restart | 8 |
1 files changed, 8 insertions, 0 deletions
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 |