latenightdef.techtransthai.org/install.sh

10 lines
306 B
Bash
Executable file

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