Sha256: 85386c7a6dbaf25d266f41c1457ccc94ab733f623183a83866bc458607a3be44

Contents?: true

Size: 579 Bytes

Versions: 4

Compression:

Stored size: 579 Bytes

Contents

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

[Service]
ExecReload=/usr/bin/kill -TSTP $MAINPID
ExecStart=/bin/bash -lc 'exec bundle exec sidekiq'
Restart=on-failure
RestartSec=1
StandardError=syslog
StandardOutput=syslog
SyslogIdentifier=%n
Type=simple
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=multi-user.target

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tomo-plugin-sidekiq-1.0.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-0.3.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-0.2.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-0.1.0 lib/tomo/plugin/sidekiq/service.erb