aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-web.service
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
committeryalh76 <yalh@yahoo.com>2019-05-10 02:00:48 +0200
commit2987ccf8b3aa393dbef79b874dfe5839a0ee10da (patch)
tree67aea4330d8c46fe8fc502f2091f88264b2bcc20 /conf/mastodon-web.service
parenteeec0653ac3e2c38bf6c46c93fdecf28d8dae1ab (diff)
parent11f2ee86cdad204655f6b5ea398c65e9693ea381 (diff)
downloadmastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.gz
mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.tar.bz2
mastodon_ynh-2987ccf8b3aa393dbef79b874dfe5839a0ee10da.zip
Merge branch 'develop'
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