website-zola/content/blog/2024-09-08-sync-working.md
2024-09-08 21:31:46 +02:00

862 B

+++ title = "syncing works" [taxonomies] tags = ["self-hosting", "zola", "automation", "systemd"] +++

I am quite 🤩 ecstatic 🤩: I got a seamless sync working between my local Git-controlled site content and my server! The way I did it:

  1. use rsync to sync local files to the server in a normal user-owned folder
  2. setup another rsync-script owned by the zola user on the server
  3. create a systemd unit path and service that syncs these files with the proper ownership to the folders where the zola service watches for changes
  4. 💸 profit!

Online resources that helped me with this: