mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/repmgr: prefer standard variable command_user in runscript
This commit is contained in:
parent
ca96017c8d
commit
02ea620e77
@ -55,4 +55,4 @@ daemon() {
|
||||
|
||||
sha512sums="2ba2a63157a79ddc83e38569d566ae40e9f8016999270f88340f4a9c089b3b20a3041db59072aa895e2cad23d51394fd74ff4d80a3fc5da9d2861b7f335be7f9 repmgr-4.0.4.tar.gz
|
||||
2457421c43db79f7bb294951ffff7e11a15f7752afebe8a3f888be3d3eccbda6ebec35d3eb001b2ee34585dc8932d6bb718dd98e3281a7204d7f0177ff1e221a repmgr.conf.patch
|
||||
4ea90fc4b07898235eb3fd441a9f9857d2309e8c124e8e274ddcb44750db7aa2f59f03ac284ecba9150c1e17a8ae173cc5f493abfdc2b66cac3444802379c6e0 repmgrd.initd"
|
||||
d35ff4918f5bbaae58d462b984bd8da09c7847b0ef99783eccf1429c3fb3aaabeedbe99fc17bf82629a3633cf6821108e840774569cb3894c859386d10439a26 repmgrd.initd"
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
command="/usr/bin/repmgrd"
|
||||
command_background="yes"
|
||||
|
||||
# "user" variable is here for backward compatibility only
|
||||
command_user="${command_user:-${user:-postgres}}"
|
||||
pidfile="/run/$RC_SVCNAME.pid"
|
||||
start_stop_daemon_args="--user ${user:-postgres}"
|
||||
|
||||
depend() {
|
||||
need postgresql
|
||||
|
Loading…
Reference in New Issue
Block a user