diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-07-30 08:52:13 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-07-30 08:52:13 +0300 |
commit | cff7bb5cd4b9e564e94a7e7f4e11c6f9ebf5bc36 (patch) | |
tree | 021c25a91263cfd9e67ad017bacf3cba41699c3b /installation | |
parent | cd2423d7f5c082d49fb429708bb8476342b35136 (diff) | |
parent | a6d3bb5f30697cafc5dd9acf490bde7e2f33f5f8 (diff) | |
download | pleroma-cff7bb5cd4b9e564e94a7e7f4e11c6f9ebf5bc36.tar.gz pleroma-cff7bb5cd4b9e564e94a7e7f4e11c6f9ebf5bc36.zip |
Merge branch 'develop' into issue/1933-update-dependency
Diffstat (limited to 'installation')
-rwxr-xr-x | installation/init.d/pleroma | 1 | ||||
-rw-r--r-- | installation/pleroma.service | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/installation/init.d/pleroma b/installation/init.d/pleroma index 384536f7e..e908cda1b 100755 --- a/installation/init.d/pleroma +++ b/installation/init.d/pleroma @@ -8,6 +8,7 @@ pidfile="/var/run/pleroma.pid" directory=/opt/pleroma healthcheck_delay=60 healthcheck_timer=30 +export $(cat /opt/pleroma/config/pleroma.env) : ${pleroma_port:-4000} diff --git a/installation/pleroma.service b/installation/pleroma.service index 5dcbc1387..ee00a3b7a 100644 --- a/installation/pleroma.service +++ b/installation/pleroma.service @@ -17,6 +17,8 @@ Environment="MIX_ENV=prod" Environment="HOME=/var/lib/pleroma" ; Path to the folder containing the Pleroma installation. WorkingDirectory=/opt/pleroma +; Path to the environment file. the file contains RELEASE_COOKIE and etc +EnvironmentFile=/opt/pleroma/config/pleroma.env ; Path to the Mix binary. ExecStart=/usr/bin/mix phx.server |