aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-06-19 15:24:45 +0200
committernemsia <nemsia@nemsia.org>2018-06-19 15:24:45 +0200
commitea9d2e8f0d93744988c03ef37a310bee4410e0b6 (patch)
tree80330068f95864a32b5a2fa6dccad92338662476 /conf/mastodon-web.service
parente47519da19d66e8f5d276a6ee582456f59d0541b (diff)
parentea65ebe0a1dfda010cd030c6861dd30e0c2b43f7 (diff)
downloadmastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.tar.gz
mastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.tar.bz2
mastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.zip
Merge branch 'testing-2.4' into master
And Stay on 2.4.1
Diffstat (limited to 'conf/mastodon-web.service')
-rw-r--r--conf/mastodon-web.service10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service
index 4632031..06069f1 100644
--- a/conf/mastodon-web.service
+++ b/conf/mastodon-web.service
@@ -1,17 +1,17 @@
[Unit]
- Description=mastodon-web
+ Description=__APP__-web
After=network.target
[Service]
Type=simple
- User=mastodon
- WorkingDirectory=/opt/mastodon/live
+ User=__APP__
+ WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
Environment="PORT=3000"
- ExecStart=/opt/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
+ ExecStart=__FINALPATH__/live/bin/bundle exec puma -C config/puma.rb
TimeoutSec=15
Restart=always
StandardError=syslog
[Install]
- WantedBy=multi-user.target \ No newline at end of file
+ WantedBy=multi-user.target