Sha256: b75a8741e89ba798ffd38a39e176815088280db9fb356b5ee6be4452a8a80034

Contents?: true

Size: 576 Bytes

Versions: 8

Compression:

Stored size: 576 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=default.target

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tomo-plugin-sidekiq-1.1.3 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.1.2 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.1.1 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.1.0 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.0.4 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.0.3 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.0.2 lib/tomo/plugin/sidekiq/service.erb
tomo-plugin-sidekiq-1.0.1 lib/tomo/plugin/sidekiq/service.erb