server-helper-scripts/gts-config.sed
c47 601c4aa90d Initial commit
Add gts-config.sed

Created a short sed script to edit new config files and insert
the needed values.
2024-02-16 07:12:23 +01:00

7 lines
228 B
Sed

#!/usr/bin/sed -f
/^log-timestamp-format:/s/"[^"]*"/"2006-01-02 15:04:05.000"/
/^host:/s/"[^"]*"/"lazy\.nixre\.net"/
/^bind-address:/s/"[^"]*"/"127\.0\.0\.1"/
/^db-type:/s/"[^"]*"/"sqlite"/
/^db-address:/s/"[^"]*"/"sqlite\.db"/