diff options
author | ThibG <thib@sitedethib.com> | 2018-10-02 12:01:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 12:01:40 +0200 |
commit | 35e9d099b3febd75d1613dfc8a494e769a98c3a6 (patch) | |
tree | 2aceaee757bd292e3d05811673a7bfe419e7b064 /dist/mastodon-web.service | |
parent | 4e60a0d5433f5dfa4f71a452cc5c6ceb0f21ceab (diff) | |
parent | 6ad76069096005d7b55d9c63a567f843997a8068 (diff) |
Merge pull request #758 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'dist/mastodon-web.service')
-rw-r--r-- | dist/mastodon-web.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dist/mastodon-web.service b/dist/mastodon-web.service new file mode 100644 index 000000000..30fcbec1e --- /dev/null +++ b/dist/mastodon-web.service @@ -0,0 +1,17 @@ +[Unit] +Description=mastodon-web +After=network.target + +[Service] +Type=simple +User=mastodon +WorkingDirectory=/home/mastodon/live +Environment="RAILS_ENV=production" +Environment="PORT=3000" +ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb +ExecReload=/bin/kill -SIGUSR1 $MAINPID +TimeoutSec=15 +Restart=always + +[Install] +WantedBy=multi-user.target |