infra-cookbook/frontends/librarian.txt

6 lines
404 B
Plaintext

1) Attach to PFCT from tilserv, su - librarian, cd into librarian dir
2) git pull
3) /usr/local/go/bin/go build -ldflags "-X codeberg.org/librarian/librarian/pages.VersionInfo=$(date '+%Y-%m-%d')-$(git rev-list --abbrev-commit -1 HEAD)"
4) If there are updates to config.example.yml; diff it with config.yml and add new entries where necessary.
5) go back to PFCT root user, systemctl restart librarian.