Skip to content

Commit

Permalink
doc: Document "restart on-failure" in the production doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marienfressinaud committed Mar 10, 2024
1 parent 53fac74 commit 6767ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Description=A job worker for flusio (queue %i)
ExecStart=php /var/www/flusio/cli jobs watch --queue=%i
User=www-data
Group=www-data
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Expand Down
2 changes: 2 additions & 0 deletions docs/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ Description=A job worker for flusio
ExecStart=php /var/www/flusio/cli jobs watch
User=www-data
Group=www-data
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit 6767ed7

Please sign in to comment.