minor fixes, one task added
This commit is contained in:
parent
d8bcaeadd1
commit
7eb59a6447
@ -1 +1,2 @@
|
||||
ceph mon_status
|
||||
ceph mon_status
|
||||
|
||||
|
@ -20,3 +20,4 @@ To-Do
|
||||
* When it doesn't help
|
||||
|
||||
* Separate extended role from once by role
|
||||
* Merge bash-functions for logging
|
||||
|
4
env.sh
4
env.sh
@ -58,7 +58,3 @@ function elog
|
||||
{
|
||||
echo -e "$(date --utc) $1" | column -s "|" -t >> "$errlog"
|
||||
}
|
||||
|
||||
ccdir "${logd}"
|
||||
ccdir "${infod}"
|
||||
ccdir "${template}"
|
||||
|
4
main.sh
4
main.sh
@ -17,6 +17,10 @@
|
||||
# Set environment variables for the environment
|
||||
source ./env.sh
|
||||
|
||||
ccdir "${logd}"
|
||||
ccdir "${infod}"
|
||||
ccdir "${template}"
|
||||
|
||||
[ -e "$errlog" ] && cat "$errlog" >> "$errlog.old" && rm -f "$errlog"
|
||||
[ -e "$noticelog" ] && cat "$noticelog" >> "$noticelog.old" && rm -f "$noticelog"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user