1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

fix upgrade

This commit is contained in:
yalh76 2021-01-02 20:04:20 +01:00
parent 19711093d9
commit 40239f770d
2 changed files with 7 additions and 1 deletions

View file

@ -3,12 +3,15 @@ Description=__APP__ social network
After=network.target postgresql.service nginx.service
[Service]
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure
; Name of the user that runs the Pleroma service.
User=__APP__
Group=__APP__
; Declares that Pleroma runs in production mode.
Environment="MIX_ENV=prod"
; Make sure that all paths fit your installation.
; Path to the home directory of the user running the Pleroma service.

View file

@ -208,11 +208,14 @@ pushd $final_path/$app
--dbpass $db_pwd \
--rum N \
--indexable Y \
--db-configurable Y \
--uploads-dir $datadir/uploads \
--static-dir $datadir/static \
--listen-ip 127.0.0.1 \
--listen-port $port \
--db-configurable Y"
--strip-uploads Y \
--anonymize-uploads Y \
--dedupe-uploads Y"
popd
cat "../conf/ldap.exs" >> "$config"