Litestream's -exec wrapper prevents the Go binary from receiving socket file descriptors, blocking future socket activation for zero-downtime deploys. Running Litestream as an independent service also gives cleaner restart semantics — app deploys no longer restart replication unnecessarily. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
223 B
YAML
14 lines
223 B
YAML
---
|
|
- name: Reload systemd
|
|
systemd:
|
|
daemon_reload: yes
|
|
|
|
- name: Restart litestream
|
|
service:
|
|
name: litestream
|
|
state: restarted
|
|
|
|
- name: Restart wppackages
|
|
service:
|
|
name: wppackages
|
|
state: restarted
|