aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-sidekiq.service
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-05-15 11:31:31 +0200
committerGitHub <noreply@github.com>2018-05-15 11:31:31 +0200
commitcc1d482ce0cd8a1d89b63c77c58ab583de0e5486 (patch)
tree1819ff84a1da9f743c14ad54d4857ed7d5ef1bb1 /conf/mastodon-sidekiq.service
parentb4fdc7ea3ea53916baf80974783569c942cac360 (diff)
parent56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b (diff)
downloadmastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.tar.gz
mastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.tar.bz2
mastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.zip
Merge pull request #18 from YunoHost-Apps/testing
Testing
Diffstat (limited to 'conf/mastodon-sidekiq.service')
-rw-r--r--conf/mastodon-sidekiq.service10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service
index 34074ed..f788332 100644
--- a/conf/mastodon-sidekiq.service
+++ b/conf/mastodon-sidekiq.service
@@ -1,17 +1,17 @@
[Unit]
- Description=mastodon-sidekiq
+ Description=__APP__-sidekiq
After=network.target
[Service]
Type=simple
- User=mastodon
- WorkingDirectory=/opt/mastodon/live
+ User=__APP__
+ WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
Environment="DB_POOL=20"
- ExecStart=/opt/mastodon/.rbenv/shims/bundle exec sidekiq -c 20 -q default -q mailers -q pull -q push
+ ExecStart=__FINALPATH__/live/bin/bundle exec sidekiq -c 20 -q default -q mailers -q pull -q push
TimeoutSec=15
Restart=always
StandardError=syslog
[Install]
- WantedBy=multi-user.target \ No newline at end of file
+ WantedBy=multi-user.target