From f56617a7f295c4a79299bc295ddc9952b26bbebc Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 5 Feb 2016 18:36:52 +0000 Subject: [PATCH] Addr restart-reason for tracking the reason that I restart my server --- restart-reason | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 restart-reason diff --git a/restart-reason b/restart-reason new file mode 100755 index 0000000..ac0e0c5 --- /dev/null +++ b/restart-reason @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +echo [ $(date) ] $* >>/var/log/shutdown.log