Skip to content

Commit 4b4b1cf

Browse files
committed
Improve timestamp
1 parent 4b39708 commit 4b4b1cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ RHOST='apt.hestiacp.com'
1111
GPG='gpg.hestiacp.com'
1212
VERSION='debian'
1313
HESTIA='/usr/local/hestia'
14-
LOG="/root/hst_install_backups/$(date +%s).log"
14+
LOG="/root/hst_install_backups/hst_install-$(date +%d%m%Y%H%M).log"
1515
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
16-
hst_backups="/root/hst_install_backups/$(date +%s)"
16+
hst_backups="/root/hst_install_backups/$(date +%d%m%Y%H%M)"
1717
arch=$(uname -i)
1818
os='debian'
1919
release=$(cat /etc/debian_version|grep -o [0-9]|head -n1)

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ RHOST='apt.hestiacp.com'
1111
GPG='gpg.hestiacp.com'
1212
VERSION='ubuntu'
1313
HESTIA='/usr/local/hestia'
14-
LOG="/root/hst_install_backups/$(date +%s).log"
14+
LOG="/root/hst_install_backups/hst_install-$(date +%d%m%Y%H%M).log"
1515
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
16-
hst_backups="/root/hst_install_backups/$(date +%s)"
16+
hst_backups="/root/hst_install_backups/$(date +%d%m%Y%H%M)"
1717
arch=$(uname -i)
1818
os='ubuntu'
1919
release="$(lsb_release -s -r)"

0 commit comments

Comments
 (0)