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

4 lines
101 B
Bash
Raw Normal View History

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