Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
66246074
Commit
66246074
authored
Dec 22, 2008
by
Niels Möller
Browse files
* contrib/lshd.debian.init: Updated file names for host key. Use
SIGHUP when stopping daemon. Rev: contrib/lshd.debian.init:1.4
parent
c0d3cd10
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/lshd.debian.init
View file @
66246074
...
...
@@ -24,8 +24,8 @@ PORT=22
set
-e
if
[
!
-x
$DAEMON
\
-o
!
-f
/etc/lsh
_
host
_
key
\
-o
!
-f
/etc/lsh
_
host
_
key.pub
\
-o
!
-f
/etc/lsh
d/
host
-
key
\
-o
!
-f
/etc/lsh
d/
host
-
key.pub
\
-o
!
-f
/var/spool/lsh/yarrow-seed-file
]
then
echo
"lshd not installed properly"
>
&2
...
...
@@ -42,7 +42,7 @@ case "$1" in
;;
stop
)
echo
-n
"Stopping
$DESC
: "
start-stop-daemon
--stop
--quiet
--pidfile
$PIDFILE
\
start-stop-daemon
--stop
--signal
1
--quiet
--pidfile
$PIDFILE
\
--exec
$DAEMON
echo
"
$NAME
."
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment