mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 07:16:17 +00:00
Adds synapse-sync (protocol types, Remote transport and read API, SyncClient with background loop, SSE realtime, resumable blobs) and synapse-server (multi-graph, bearer auth, blob streaming, read API, authenticated update endpoint), with e2e tests, docs/sync.md, docs/server.md, systemd unit and update script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
24 lines
527 B
Desktop File
24 lines
527 B
Desktop File
[Unit]
|
|
Description=Synapse sync server
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
User=synapse
|
|
Group=synapse
|
|
EnvironmentFile=/etc/synapse/server.env
|
|
ExecStart=/opt/synapse/bin/synapse-server
|
|
# Also how a successful POST /admin/update takes effect: the server exits, systemd restarts it.
|
|
Restart=always
|
|
RestartSec=2
|
|
# Hardening
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
ReadWritePaths=/var/lib/synapse /opt/synapse
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|