Sha256: 177fa34f10a2b1d32d72412643eabc9b8aeced4398a4622f899174a49838b48a
Contents?: true
Size: 914 Bytes
Versions: 2
Compression:
Stored size: 914 Bytes
Contents
[Unit] Description=sidekiq for <%= "#{fetch(:application)} (#{fetch(:stage)})" %> After=syslog.target network.target [Service] Type=simple WorkingDirectory=<%= File.join(fetch(:deploy_to), 'current') %> ExecStart=<%= SSHKit.config.command_map[:bundler] %> exec sidekiq -e <%= fetch(:sidekiq_env) %> ExecReload=/bin/kill -TSTP $MAINPID ExecStop=/bin/kill -TERM $MAINPID <%="StandardOutput=append:#{fetch(:sidekiq_log)}" if fetch(:sidekiq_log) %> <%="StandardError=append:#{fetch(:sidekiq_error_log)}" if fetch(:sidekiq_error_log) %> <%="User=#{sidekiq_user}" if sidekiq_user %> <%="EnvironmentFile=#{fetch(:sidekiq_service_unit_env_file)}" if fetch(:sidekiq_service_unit_env_file) %> <% fetch(:sidekiq_service_unit_env_vars, []).each do |environment_variable| %> <%="Environment=#{environment_variable}" %> <% end %> RestartSec=1 Restart=on-failure SyslogIdentifier=sidekiq [Install] WantedBy=default.target
Version data entries
2 entries across 2 versions & 1 rubygems