Sha256: f1c27a4470c60efb300ed76fd583fac432e432938fd4298b55f5fc7a9db7fef1
Contents?: true
Size: 829 Bytes
Versions: 2
Compression:
Stored size: 829 Bytes
Contents
[Unit] Description=<%= @service_file %> After=syslog.target network.target [Service] Type=notify WatchdogSec=10 WorkingDirectory=<%= current_path %> <% if fetch(:sidekiq_six_ruby_vm) == :rbenv %> ExecStart=/bin/bash -lc 'exec /home/deploy/.rbenv/shims/bundle exec sidekiq <%= @side_kiq_args %>' <% elsif fetch(:sidekiq_six_ruby_vm) == :rvm %> ExecStart=<%= fetch(:rvm_path) %>/bin/rvm <%= fetch(:rvm_ruby_version) %> do bundle exec sidekiq <%= @side_kiq_args %> <% else %> ExecStart=/usr/local/bin/bundle exec sidekiq <%= @side_kiq_args %> <% end %> User=<%= fetch(:sidekiq_six_user) %> Group=<%= fetch(:sidekiq_six_user) %> UMask=0002 Environment=MALLOC_ARENA_MAX=2 RestartSec=1 Restart=on-failure StandardOutput=/var/log/syslog StandardError=/var/log/syslog SyslogIdentifier=sidekiq [Install] WantedBy=multi-user.target
Version data entries
2 entries across 2 versions & 1 rubygems