slow down etherpad restarts
authorRalf Jung <post@ralfj.de>
Tue, 16 Apr 2019 09:11:25 +0000 (11:11 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 16 Apr 2019 09:11:25 +0000 (11:11 +0200)
roles/etherpad/templates/etherpad-lite.service

index 3673f30fe524fca790f63f44a8ed78e45e2129ad..28e3628049b44cb5688a0551b046b7694e425abd 100644 (file)
@@ -9,6 +9,7 @@ Group=nogroup
 Environment=NODE_ENV=production
 ExecStart=/srv/{{etherpad.domain}}/etherpad-lite/bin/run.sh
 Restart=on-failure
 Environment=NODE_ENV=production
 ExecStart=/srv/{{etherpad.domain}}/etherpad-lite/bin/run.sh
 Restart=on-failure
+RestartSec=1
 
 [Install]
 WantedBy=multi-user.target
 
 [Install]
 WantedBy=multi-user.target