aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/mastodon-web.service')
-rw-r--r--conf/mastodon-web.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service
index 06069f1..c95ba7f 100644
--- a/conf/mastodon-web.service
+++ b/conf/mastodon-web.service
@@ -7,8 +7,9 @@
User=__APP__
WorkingDirectory=__FINALPATH__/live
Environment="RAILS_ENV=production"
- Environment="PORT=3000"
- ExecStart=__FINALPATH__/live/bin/bundle exec puma -C config/puma.rb
+ Environment="PORT=__PORT_WEB__"
+ ExecStart=/opt/rbenv/versions/2.6.0/bin/bundle exec puma -C config/puma.rb
+ ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15
Restart=always
StandardError=syslog