summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mastodon-sidekiq.service4
-rw-r--r--mastodon-streaming.service2
-rw-r--r--mastodon-web.service4
3 files changed, 5 insertions, 5 deletions
diff --git a/mastodon-sidekiq.service b/mastodon-sidekiq.service
index 7d1e3d48c73f..85510487cfe5 100644
--- a/mastodon-sidekiq.service
+++ b/mastodon-sidekiq.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="DB_POOL=5"
-ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push
+ExecStart=/var/lib/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push
TimeoutSec=15
Restart=always
diff --git a/mastodon-streaming.service b/mastodon-streaming.service
index 72be21bc914a..dc7b5a9bebd8 100644
--- a/mastodon-streaming.service
+++ b/mastodon-streaming.service
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
User=mastodon
-WorkingDirectory=/home/mastodon/live
+WorkingDirectory=/var/lib/mastodon/live
Environment="NODE_ENV=production"
Environment="PORT=4000"
ExecStart=/usr/bin/npm run start
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