1
0
Fork 0

Addr restart-reason for tracking the reason that I restart my server

This commit is contained in:
Starbeamrainbowlabs 2016-02-05 18:36:52 +00:00
parent 1760c30ada
commit f56617a7f2
1 changed files with 3 additions and 0 deletions

3
restart-reason Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
echo [ $(date) ] $* >>/var/log/shutdown.log