summaryrefslogtreecommitdiff
path: root/debian/opencryptoki.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/opencryptoki.init')
-rw-r--r--debian/opencryptoki.init5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/opencryptoki.init b/debian/opencryptoki.init
index fa83b97..5488067 100644
--- a/debian/opencryptoki.init
+++ b/debian/opencryptoki.init
@@ -1,7 +1,7 @@
#!/bin/sh
### BEGIN INIT INFO
-# Provides: pkcsslotd opencryptoki
+# Provides: pkcsslotd
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start:
@@ -16,7 +16,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/pkcsslotd
NAME=pkcsslotd
DESC="PKCS#11 slot daemon"
-PIDFILE=/var/lib/opencryptoki/.slotpid
+PIDFILE=/var/run/pkcsslotd.pid
test -x "$DAEMON" || exit 0
@@ -25,7 +25,6 @@ set -e
case "${1}" in
start)
echo -n "Starting $DESC: "
- /usr/sbin/pkcs11_startup
start-stop-daemon --start --quiet --pidfile "$PIDFILE" --exec "$DAEMON" -- $DAEMON_OPTS
echo "$NAME."