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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user