diff --git a/manifests/init.pp b/manifests/init.pp index 6391fc0..e82da23 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -488,6 +488,8 @@ class mastodon ( $_service_duplicates = @("EOT") [Service] Type=simple + User=${mastodon_user} + WorkingDirectory=${mastodon_home}/live Environment='RAILS_ENV=production' 'PATH=${mastodon_home}/.rbenv/shims:${mastodon_home}/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' ExecStart=/opt/mastodon/live/bin/tootctl maintenance fix-duplicates