summarylogtreecommitdiffstats
path: root/mastodon-web.service
diff options
context:
space:
mode:
authorCaleb Maclennan2017-04-11 17:04:10 +0300
committerCaleb Maclennan2017-04-11 17:04:10 +0300
commit928d88217dffa2a4fc43ded666b3e17407647ca7 (patch)
tree4f1284a1b9e6129d0b216834643c1b710f9392fc /mastodon-web.service
parent13dec54f2012f372ed0bbc76c279e5ac4ccda099 (diff)
downloadaur-928d88217dffa2a4fc43ded666b3e17407647ca7.tar.gz
Adapt systemd units to use our home directory
Diffstat (limited to 'mastodon-web.service')
-rw-r--r--mastodon-web.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon-web.service b/mastodon-web.service
index fc545686e265..2ed9f6899fa6 100644
--- a/mastodon-web.service
+++ b/mastodon-web.service
@@ -5,10 +5,10 @@ After=network.target
[Service]
Type=simple
User=mastodon
-WorkingDirectory=/home/mastodon/live
+WorkingDirectory=/var/lib/mastodon/live
Environment="RAILS_ENV=production"
Environment="PORT=3000"
-ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
+ExecStart=/var/lib/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
TimeoutSec=15
Restart=always