mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge branch 'master' of github.com:mperham/sidekiq
This commit is contained in:
commit
9970082a12
1 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,14 @@ After=syslog.target network.target
|
|||
# times! systemd is a critical tool for all developers to know and understand.
|
||||
#
|
||||
[Service]
|
||||
# You may want to use
|
||||
# Type=notify
|
||||
# to ensure service is not marked as started before it actually did.
|
||||
# Include sd_notify gem to send a message on sidekiq startup like
|
||||
# Sidekiq.configure_server do |config|
|
||||
# config.on(:startup) { SdNotify.ready }
|
||||
# end
|
||||
# to let systemd know when the service is actually started.
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/myapp/current
|
||||
# If you use rbenv:
|
||||
|
|
Loading…
Add table
Reference in a new issue