Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Discourse Sidekiq
- Requires=redis-server.service
- After=redis-server.service
- [Service]
- User=www-data
- WorkingDirectory=/srv/www/discourse
- Environment=RBENV_ROOT=/usr/local/rbenv
- Environment=RAILS_ENV=production
- Environment=DISCOURSE_DB_HOST=localhost
- Environment=DISCOURSE_DB_PASSWORD=un-bon-gros-mot-de-passe
- Environment=DISCOURSE_HOSTNAME=le.futur.domaine.de.votre.forum
- SyslogIdentifier=discourse-sidekiq
- PIDFile=/srv/www/discourse/tmp/pids/sidekiq.pid
- ExecStart=/usr/local/rbenv/shims/bundle exec /usr/local/rbenv/shims/sidekiq
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement