FreeBSD Bugzilla – Attachment 226680 Details for
Bug 257212
net-im/prosody: Fails to start under RC, does not create pidfile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
make having a pidfile optional
prosody-0.11.9-1.patch (text/plain), 1.20 KB, created by
Thomas Morper
on 2021-07-25 13:25:15 UTC
(
hide
)
Description:
make having a pidfile optional
Filename:
MIME Type:
Creator:
Thomas Morper
Created:
2021-07-25 13:25:15 UTC
Size:
1.20 KB
patch
obsolete
>diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile >index 943c511f7a9d..f3062e2b0b98 100644 >--- a/net-im/prosody/Makefile >+++ b/net-im/prosody/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= prosody > PORTVERSION= 0.11.9 >+PORTREVISION= 1 > CATEGORIES= net-im > MASTER_SITES= https://prosody.im/downloads/source/ > >diff --git a/net-im/prosody/files/prosody.in b/net-im/prosody/files/prosody.in >index 8d23cf2b3a28..acdbde604f49 100644 >--- a/net-im/prosody/files/prosody.in >+++ b/net-im/prosody/files/prosody.in >@@ -24,6 +24,6 @@ prosody_group="%%GROUPS%%" > load_rc_config $name > > prosody_enable=${prosody_enable:-"NO"} >-pidfile=${prosody_pidfile:-"/var/run/prosody/prosody.pid"} >+pidfile=${prosody_pidfile:+$prosody_pidfile} > > run_rc_command "$1" >diff --git a/net-im/prosody/pkg-message b/net-im/prosody/pkg-message >index f2125ab9c53b..f8c04cf9daef 100644 >--- a/net-im/prosody/pkg-message >+++ b/net-im/prosody/pkg-message >@@ -8,13 +8,5 @@ interfaces = { 'x.x.x.x' } > > where 'x.x.x.x' is the public IP you wish Prosody to bind to. > EOM >-}, >-{ type: install >- message: <<EOM >-Make sure your prosody.cfg.lua contains the following line >-or else the init script won't work: >- >-pidfile = "/var/run/prosody/prosody.pid" >-EOM > } > ]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
thomas
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 257212
: 226680