[Unit] Description=mastodon-web After=network.target [Service] Type=simple User=mastodon WorkingDirectory=/opt/mastodon/live Environment="RAILS_ENV=production" Environment="PORT=3000" ExecStart=/opt/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb TimeoutSec=15 Restart=always [Install] WantedBy=multi-user.target