Merge remote-tracking branch 'origin/develop' into shigusegubu
* origin/develop: (566 commits) Fix MRF reject for ChatMessage Create MRF.filter_pipeline to inject :object_data when present KeywordPolicy: Still match when fields are absent pleroma-fe bundle: bump to b225c3578f3c89af5ed3a0be3f8f3a6bbcedcc7d CHANGELOG.md: Add 2.1.2 entry mix.exs: bump version to 2.1.2 Merge branch '2130-mfa-users-oauth-login-fix' into 'develop' Merge branch 'fix/streaming-termination-errors' into 'develop' Merge branch 'fix/mrf-simple-welcome-chats' into 'develop' Merge branch 'reply-visibility-user-guard' into 'develop' Merge branch 'bugfix/mrf-ingestion' into 'develop' adapt to new user factory behavior add test and changelog entry User search respect discoverable flag Merge branch 'hotfix/rich-media-compile-error' into 'develop' Merge branch 'feat/rich-media-head' into 'develop' Deny ConfigDB migration when deprecated settings found RichMedia: Fix log spam on failures and resetting TTL on cached errors Return the file content for `GET /api/pleroma/admin/instance_document/:document_name` add description to changelog ...
This commit is contained in:
commit
4174bc6126
598 changed files with 10803 additions and 10594 deletions
27
installation/freebsd/rc.d/pleroma
Executable file
27
installation/freebsd/rc.d/pleroma
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# PROVIDE: pleroma
|
||||
# REQUIRE: DAEMON postgresql
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# sudo -u pleroma MIX_ENV=prod elixir --erl \"-detached\" -S mix phx.server
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=pleroma
|
||||
rcvar=pleroma_enable
|
||||
|
||||
desc="Pleroma Social Media Platform"
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
: ${pleroma_user:=pleroma}
|
||||
: ${pleroma_home:=$(getent passwd ${pleroma_user} | awk -F: '{print $6}')}
|
||||
: ${pleroma_chdir:="${pleroma_home}/pleroma"}
|
||||
: ${pleroma_env:="HOME=${pleroma_home} MIX_ENV=prod"}
|
||||
|
||||
command=/usr/local/bin/elixir
|
||||
command_args="--erl \"-detached\" -S /usr/local/bin/mix phx.server"
|
||||
procname="*beam.smp"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
@ -8,7 +8,6 @@ pidfile="/var/run/pleroma.pid"
|
|||
directory=/opt/pleroma
|
||||
healthcheck_delay=60
|
||||
healthcheck_timer=30
|
||||
export $(cat /opt/pleroma/config/pleroma.env)
|
||||
|
||||
: ${pleroma_port:-4000}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue