mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 19:16:00 +01:00
18 lines
No EOL
491 B
Desktop File
18 lines
No EOL
491 B
Desktop File
# TODO: Replace "/home/retrospring/retrospring" with directory of your Retrospring installation
|
|
|
|
[Unit]
|
|
Description=retrospring-sidekiq
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=retrospring
|
|
WorkingDirectory=/home/retrospring/retrospring
|
|
Environment="RAILS_ENV=production"
|
|
ExecStart=/home/retrospring/.rbenv/shims/bundle exec sidekiq -e production -C ./config/sidekiq.yml
|
|
TimeoutSec=15
|
|
Restart=always
|
|
WorkingDirectory=/home/retrospring/retrospring
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |