diff options
Diffstat (limited to 'mastodon-web.service')
-rw-r--r-- | mastodon-web.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mastodon-web.service b/mastodon-web.service index 3cce1f0f9313..b3f8d80f367f 100644 --- a/mastodon-web.service +++ b/mastodon-web.service @@ -1,14 +1,15 @@ [Unit] -Description=mastodon-web +Description=Mastodon web workers service After=network.target [Service] Type=simple User=mastodon -WorkingDirectory=/var/lib/mastodon/live +WorkingDirectory=/var/lib/mastodon Environment="RAILS_ENV=production" Environment="PORT=3000" ExecStart=/usr/bin/bundle exec puma -C config/puma.rb +; ExecReload=/bin/kill -SIGUSR1 $MAINPID TimeoutSec=15 Restart=always |