infrastructure/postgresql.tjo.cloud/root/etc/systemd/system-environment-generators/date.sh

3 lines
101 B
Bash
Executable file

#!/bin/bash
echo "CURRENT_DATE=$(date +%Y_%m_%d)"
echo "CURRENT_DATETIME=$(date +%Y-%m-%d_%H-%M-%S)"