summarylogtreecommitdiffstats
path: root/mastodon-web.service
diff options
context:
space:
mode:
authorCaleb Maclennan2018-08-14 07:37:03 +0300
committerCaleb Maclennan2018-08-14 07:38:17 +0300
commit99752b02deaf61ea61268b13cec17b6406b5ebe3 (patch)
tree0088c2b32c234433dd4ab805c49be6b6041e120d /mastodon-web.service
parent150c221af784a3db4598fba43dc05c0ba4ed7ba7 (diff)
downloadaur-99752b02deaf61ea61268b13cec17b6406b5ebe3.tar.gz
Sync packaging routine with stable package
Diffstat (limited to 'mastodon-web.service')
-rw-r--r--mastodon-web.service5
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