summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd')
-rw-r--r--app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd5
1 files changed, 3 insertions, 2 deletions
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
index 50b324882400..eb6b3cc62c9b 100644
--- a/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd
+++ b/app-crypt/gnupg-pkcs11-scd/files/gnupg-pkcs11-scd-proxy.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="gnupg-pkcs11-scd proxy."
@@ -11,7 +11,8 @@ command_args="--scd-config='${SCD_CONFIG}' --socket-group=${GNUPG_PKCS11_GROUP}
pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
user=${USER:-gnupg-pkcs11-scd-proxy}
group=${GROUP:-gnupg-pkcs11-scd-proxy}
-start_stop_daemon_args="--user ${user} --group ${group} --background --make-pidfile"
+command_user="${user}:${group}"
+command_background="yes"
depend() {
need localmount