Verified Commit 656fc4bb authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Restart mjolnir on failure

With a delay of 30 seconds. Reduce the sleep hack in pantalaimon from 30
to 10 seconds. Hopefully this is going to bring it up reliably.
parent d810bd83
Pipeline #19072 failed with stage
in 36 seconds
......@@ -9,6 +9,8 @@ WorkingDirectory=/var/lib/synapse/mjolnir
Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=/etc/synapse/mjolnir
ExecStart=/usr/bin/node --dns-result-order=ipv4first lib/index.js
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target
......@@ -9,7 +9,7 @@ WorkingDirectory=~
ExecStart=/var/lib/synapse/venv-pantalaimon/bin/pantalaimon \
-c /etc/synapse/pantalaimon.conf \
--data-path /var/lib/synapse/pantalaimon-data
ExecStartPost=/usr/bin/sleep 30
ExecStartPost=/usr/bin/sleep 10
[Install]
WantedBy=multi-user.target
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment