Adduser and cwd
This commit is contained in:
parent
3d14eaaa8b
commit
3843cc7c19
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue