Update pleroma.service for asdf

This commit is contained in:
Alex Gleason 2021-05-16 11:30:41 -05:00
parent 43f1278654
commit 28840d2f31
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -18,7 +18,8 @@ Environment="HOME=/var/lib/pleroma"
; Path to the folder containing the Pleroma installation.
WorkingDirectory=/opt/pleroma
; Path to the Mix binary.
ExecStart=/usr/bin/mix phx.server
Environment="PATH=/var/lib/pleroma/.asdf/shims:/var/lib/pleroma/.asdf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/var/lib/pleroma/.asdf/shims/mix phx.server
; Some security directives.
; Use private /tmp and /var/tmp folders inside a new file system namespace, which are discarded after the process stops.