862 B
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:
- use rsync to sync local files to the server in a normal user-owned folder
- setup another rsync-script owned by the
zola
user on the server - create a
systemd
unit path and service that syncs these files with the proper ownership to the folders where thezola
service watches for changes - 💸 profit!
Online resources that helped me with this: