Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
6a029896
Commit
6a029896
authored
Apr 05, 1994
by
Per Cederqvist
Browse files
Fixed: work even if no pid file exists.
parent
5d243b8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
run-support/komrunning.sh
View file @
6a029896
...
...
@@ -46,12 +46,11 @@ case "$1"x in
fi
fi
;;
onx|upx|startx
)
rm
-f
@ETCDIR@/status
if
kill
-HUP
`
cat
@ETCDIR@/pid
`
then
true
else
@BINDIR@/updateLysKOM
fi
;;
rm
-f
@ETCDIR@/status
;;
offx|downx|shutdownx
)
whoami
>
@ETCDIR@/status
kill
-HUP
`
cat
@ETCDIR@/pid
`
;;
if
[
-f
@ETCDIR@/pid
]
then
kill
-HUP
`
cat
@ETCDIR@/pid
`
2>/dev/null
fi
;;
esac
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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