568c30e93e
* chore: Update ruby version to 3.0.4 * chore: update ruby version in docker workflow * chore: update ruby version to 3.1.2 * Upgrade vue-jest to remove deasync * Revert to 3.0.4 to see if deasync issue is fixed * fix: script failure if pg/redis not opted in Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
25 lines
887 B
Desktop File
25 lines
887 B
Desktop File
[Unit]
|
|
Requires=network.target
|
|
PartOf=chatwoot.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=chatwoot
|
|
WorkingDirectory=/home/chatwoot/chatwoot
|
|
|
|
ExecStart=/bin/bash -lc 'bundle exec sidekiq -C config/sidekiq.yml'
|
|
|
|
Restart=always
|
|
RestartSec=1
|
|
TimeoutStopSec=30
|
|
KillMode=mixed
|
|
StandardInput=null
|
|
SyslogIdentifier=%p
|
|
|
|
Environment="PATH=/home/chatwoot/.rvm/gems/ruby-3.0.4/bin:/home/chatwoot/.rvm/gems/ruby-3.0.4@global/bin:/home/chatwoot/.rvm/rubies/ruby-3.0.4/bin:/home/chatwoot/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/chatwoot/.rvm/bin:/home/chatwoot/.rvm/bin"
|
|
Environment="PORT=3000"
|
|
Environment="RAILS_ENV=production"
|
|
Environment="NODE_ENV=production"
|
|
Environment="RAILS_LOG_TO_STDOUT=true"
|
|
Environment="GEM_HOME=/home/chatwoot/.rvm/gems/ruby-3.0.4"
|
|
Environment="GEM_PATH=/home/chatwoot/.rvm/gems/ruby-3.0.4:/home/chatwoot/.rvm/gems/ruby-3.0.4@global"
|