diff options
author | Alibek Omarov <a1ba.omarov@gmail.com> | 2022-02-22 03:37:35 +0300 |
---|---|---|
committer | Alibek Omarov <a1ba.omarov@gmail.com> | 2022-02-22 04:02:45 +0300 |
commit | a90b5d6f79c3b45c320553c1619f2cde9a01bf25 (patch) | |
tree | 8c7aa0a08cc0f02d74517fa6640f6707433d2909 | |
parent | d91e9cee04f2e4cb809037e4fcfebc295994b563 (diff) | |
download | pleroma-a90b5d6f79c3b45c320553c1619f2cde9a01bf25.tar.gz |
systemd: fix existing service file to work as service template
-rw-r--r-- | installation/pleroma@.service (renamed from installation/pleroma.service) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installation/pleroma.service b/installation/pleroma@.service index 8338228d8..89ae0d055 100644 --- a/installation/pleroma.service +++ b/installation/pleroma@.service @@ -1,5 +1,5 @@ [Unit] -Description=Pleroma social network +Description=Pleroma social network (MIX_ENV=%i) After=network.target postgresql.service [Service] @@ -10,7 +10,7 @@ Restart=on-failure ; Name of the user that runs the Pleroma service. User=pleroma ; Declares that Pleroma runs in production mode. -Environment="MIX_ENV=prod" +Environment="MIX_ENV=%i" ; Make sure that all paths fit your installation. ; Path to the home directory of the user running the Pleroma service. |