Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85830523
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
845 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/rel/files/installation/init.d/pleroma b/rel/files/installation/init.d/pleroma
index 2d3977e41..fe61da12a 100755
--- a/rel/files/installation/init.d/pleroma
+++ b/rel/files/installation/init.d/pleroma
@@ -1,29 +1,29 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
# Requires OpenRC >= 0.35
directory=/opt/pleroma
command=/opt/pleroma/bin/pleroma
command_args="start"
command_user=pleroma
command_background=1
no_new_privs="yes"
# Ask process to terminate within 30 seconds, otherwise kill it
retry="SIGTERM/30/SIGKILL/5"
pidfile="/var/run/pleroma.pid"
depend() {
want nginx
- need postgresql
+ need postgresql epmd net
}
start_pre() {
ebegin "running migrations if any"
su -s /bin/sh -c "cd \"${directory}\" && exec /opt/pleroma/bin/pleroma_ctl migrate" \
"${command_user%%:*}"
eend "$?"
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 1, 5:17 AM (14 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1802516
Default Alt Text
(845 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline