1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/community/postsrsd/10-fix-defaults.patch
Kevin Daudt 058c7c9774 community/postsrsd: update to 1.6
- set-socket-listen-address.patch is now applied upstream
- run actual test suite in check()
2019-02-23 22:27:08 +00:00

22 lines
791 B
Diff

diff --git a/init/postsrsd.default.in b/init/postsrsd.default.in
index 50049f2105..9302b6dbfa 100644
--- a/init/postsrsd.default.in
+++ b/init/postsrsd.default.in
@@ -21,7 +21,7 @@ SRS_SEPARATOR==
# When postsrsd is installed for the first time, a random secret is generated
# and stored in /etc/postsrsd.secret. For most installations, that's just fine.
#
-SRS_SECRET=@SYSCONF_DIR@/@PROJECT_NAME@.secret
+SRS_SECRET=@SYSCONF_DIR@/@PROJECT_NAME@/@PROJECT_NAME@.secret
# Length of hash to be used in rewritten addresses
SRS_HASHLENGTH=4
@@ -44,7 +44,7 @@ SRS_REVERSE_PORT=10002
# Drop root privileges and run as another user after initialization.
# This is highly recommended as postsrsd handles untrusted input.
#
-RUN_AS=nobody
+RUN_AS=@PROJECT_NAME@
# Bind to this address
#