Files
hyperstitionstudio-core/deploy/hyperstition-tmpfs-sync.service

15 lines
444 B
Desktop File

# /etc/systemd/system/hyperstition-tmpfs-sync.service
[Unit]
Description=Hydrate RAM-backed /var/www/hyperstitionstud.io/repos from NVMe repo install dirs
After=local-fs.target
RequiresMountsFor=/var/www/hyperstitionstud.io/repos
Before=caddy.service
[Service]
Type=oneshot
ExecStart=/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh --no-pull --no-caddy
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target