Serve a branded maintenance page while automatic updates rebuild Synapsis

Hop-State: A_06FP9GHXYJ7YFGJ8MPGCRRG
Hop-Proposal: R_06FP9GGM02EZ1XD9K4DPQ28
Hop-Task: T_06FP9G1KCRT11HM63FWG190
Hop-Attempt: AT_06FP9G1KCTJKQ4EHESDM798
This commit is contained in:
2026-07-15 00:51:19 -07:00
committed by Hop
parent b291c5a453
commit de5ba47834
6 changed files with 99 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
[Unit]
Description=Synapsis update maintenance page
After=network-online.target
Wants=network-online.target
Conflicts=synapsis.service
[Service]
Type=simple
User=synapsis
Group=synapsis
WorkingDirectory=/opt/synapsis
EnvironmentFile=/etc/synapsis.env
ExecStart=/usr/bin/env node /opt/synapsis/deploy/maintenance-server.mjs
Restart=on-failure
RestartSec=1
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true