Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
845 B
Referenced Files
None
Subscribers
None
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

Mime Type
text/x-diff
Expires
Sun, Nov 1, 5:17 AM (16 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1802516
Default Alt Text
(845 B)

Event Timeline