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:
parent
19711093d9
commit
40239f770d
2 changed files with 7 additions and 1 deletions
|
@ -3,12 +3,15 @@ Description=__APP__ social network
|
||||||
After=network.target postgresql.service nginx.service
|
After=network.target postgresql.service nginx.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
ExecReload=/bin/kill $MAINPID
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
; Name of the user that runs the Pleroma service.
|
; Name of the user that runs the Pleroma service.
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
; Declares that Pleroma runs in production mode.
|
||||||
|
Environment="MIX_ENV=prod"
|
||||||
|
|
||||||
; Make sure that all paths fit your installation.
|
; Make sure that all paths fit your installation.
|
||||||
; Path to the home directory of the user running the Pleroma service.
|
; Path to the home directory of the user running the Pleroma service.
|
||||||
|
|
|
@ -208,11 +208,14 @@ pushd $final_path/$app
|
||||||
--dbpass $db_pwd \
|
--dbpass $db_pwd \
|
||||||
--rum N \
|
--rum N \
|
||||||
--indexable Y \
|
--indexable Y \
|
||||||
|
--db-configurable Y \
|
||||||
--uploads-dir $datadir/uploads \
|
--uploads-dir $datadir/uploads \
|
||||||
--static-dir $datadir/static \
|
--static-dir $datadir/static \
|
||||||
--listen-ip 127.0.0.1 \
|
--listen-ip 127.0.0.1 \
|
||||||
--listen-port $port \
|
--listen-port $port \
|
||||||
--db-configurable Y"
|
--strip-uploads Y \
|
||||||
|
--anonymize-uploads Y \
|
||||||
|
--dedupe-uploads Y"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
cat "../conf/ldap.exs" >> "$config"
|
cat "../conf/ldap.exs" >> "$config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue