latenightdef.techtransthai.org/install.sh

11 lines
306 B
Bash
Raw Normal View History

2024-02-22 19:42:35 +00:00
systemctl --user stop latenightdef
cp latenightdef.container ~/.config/containers/systemd
systemctl --user daemon-reload
sed -i "s/DATE/$(date -I)/g" index.html
sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
podman build -t latenightdef .
systemctl --user start latenightdef