Sha256: 087a52c4cd3f49f40973f2e6350981435992d6a8b00b4d34400960ff6f3593e1

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

Stored size: 547 Bytes

Contents

[Unit]
Description=Sidekiq for <%= settings[:application] %>
After=syslog.target network.target
ConditionPathExists=<%= paths.current %>

[Service]
ExecStart=/bin/bash -lc 'exec bundle exec sidekiq'
Restart=always
RestartSec=1
StandardError=syslog
StandardOutput=syslog
SyslogIdentifier=%n
Type=notify
WatchdogSec=10
WorkingDirectory=<%= paths.current %>

# Greatly reduce Ruby memory fragmentation and heap usage
# https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/
Environment=MALLOC_ARENA_MAX=2

[Install]
WantedBy=default.target

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tomo-plugin-sidekiq-1.4.1 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.4.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.3.2 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.3.1 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.3.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.2.2 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.2.1 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.2.0 lib/tomo/plugin/sidekiq/service.erb