Skip to content

Commit

Permalink
modify supervisor systemd config
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Dec 14, 2023
1 parent 7659ff9 commit 0fb4cf8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/sec_self_hosting/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,18 @@ before starting ``supervisor``. This can be achieved by running
Requires=postgresql.service
After=postgresql.service

[Install]
Restart=always
RestartSec=20

If `solr` is slow when starting up, add this to its unit file ``systemctl edit solr``::

[Service]
ExecStartPost=/bin/sleep 250
Restart=on-failure
RestartSec=10s


Afterwards run::

systemctl daemon-reload

0 comments on commit 0fb4cf8

Please sign in to comment.