Skip to content

Commit 8fd4a93

Browse files
committed
omd: improve init script output
1 parent dc458b4 commit 8fd4a93

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/apache-omd/skel/etc/init.d/apache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ kill_stale_php_cgis() {
5656

5757
# override generic reload function
5858
__generic_init_reload() {
59+
PID=$(__generic_init_pid)
60+
echo -n " (PID: ${PID})... "
5961
if ! $DAEMON $OPTS -k graceful; then
6062
echo "ERROR: failed to send SIGHUP"
6163
return 1

packages/omd/init_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ __generic_init_reload() {
289289
fi
290290
fi
291291
[ "$CORE_NOVERIFY" ] || __generic_init_verify_config quiet || return 1
292-
echo " (PID: ${PID})... "
292+
echo -n " (PID: ${PID})... "
293293
if ! kill -HUP ${PID}; then
294294
echo "ERROR: failed to send SIGHUP"
295295
return 1

0 commit comments

Comments
 (0)