Skip to content

Commit 0fa3ed9

Browse files
committed
Separate stderr and stdout output from jsvc
1 parent d92725e commit 0fa3ed9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packaging/centos63/cloud-agent.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ start() {
6969
echo -n $"Starting $PROGNAME: "
7070
if hostname --fqdn >/dev/null 2>&1 ; then
7171
$JSVC -cp "$CLASSPATH" -pidfile "$PIDFILE" \
72-
-errfile $LOGDIR/cloudstack-agent.out -outfile $LOGDIR/cloudstack-agent.out $CLASS
72+
-errfile $LOGDIR/cloudstack-agent.err -outfile $LOGDIR/cloudstack-agent.out $CLASS
7373
RETVAL=$?
7474
echo
7575
else

‎packaging/centos63/cloud-usage.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ start() {
8181
echo -n "Starting $PROGNAME" "$SHORTNAME"
8282

8383
if daemon --pidfile $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" \
84-
-errfile $LOGDIR/cloudstack-usage.out -outfile $LOGDIR/cloudstack-usage.out -Dpid=$$ $CLASS
84+
-errfile $LOGDIR/cloudstack-usage.err -outfile $LOGDIR/cloudstack-usage.out -Dpid=$$ $CLASS
8585
RETVAL=$?
8686
then
8787
rc=0

0 commit comments

Comments
 (0)