1 |
commit: 79574a0ad8ce52341e970ab2c497c6825c9098c3 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 3 14:21:35 2021 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 3 14:21:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79574a0a |
7 |
|
8 |
app-crypt/gnupg-pkcs11-scd: Update OpenRC script |
9 |
|
10 |
Non-maintainer commit: This is effectively the same options reorganized |
11 |
for future consideration. |
12 |
|
13 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
14 |
|
15 |
app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd | 5 +++-- |
16 |
1 file changed, 3 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd |
19 |
index 50b324882400..2861293e0ef0 100644 |
20 |
--- a/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd |
21 |
+++ b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd |
22 |
@@ -1,5 +1,5 @@ |
23 |
#!/sbin/openrc-run |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Copyright 1999-2021 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
description="gnupg-pkcs11-scd proxy." |
29 |
@@ -11,7 +11,8 @@ command_args="--scd-config='${SCD_CONFIG}' --socket-group=${GNUPG_PKCS11_GROUP} |
30 |
pidfile=${PIDFILE:-/run/${SVCNAME}.pid} |
31 |
user=${USER:-gnupg-pkcs11-scd-proxy} |
32 |
group=${GROUP:-gnupg-pkcs11-scd-proxy} |
33 |
-start_stop_daemon_args="--user ${user} --group ${group} --background --make-pidfile" |
34 |
+command_user="${user}:${group}" |
35 |
+command_background="yes" |
36 |
|
37 |
depend() { |
38 |
need localmount |