Replace unset REMOTE_PID_FILE with proper value

REMOTE_PID_FILE is no longer used in the source or the build process but
the man page still used it resulting in no file name being displayed.
The same value that the libvirtd daemon code uses is now used in the man
page.
This commit is contained in:
Doug Goldstein 2012-08-12 23:44:48 -05:00 committed by Daniel Veillard
parent 9cdd73a245
commit 910041bac8
2 changed files with 4 additions and 6 deletions

View File

@ -87,7 +87,6 @@ libvirtd.8: $(srcdir)/libvirtd.8.in
sed \
-e 's!SYSCONFDIR!$(sysconfdir)!g' \
-e 's!LOCALSTATEDIR!$(localstatedir)!g' \
-e 's!REMOTE_PID_FILE!$(REMOTE_PID_FILE)!g' \
< $< > $@-t
mv $@-t $@
@ -99,8 +98,7 @@ libvirtd_CFLAGS = \
$(XDR_CFLAGS) $(POLKIT_CFLAGS) $(DBUS_CFLAGS) $(LIBNL_CFLAGS) \
$(WARN_CFLAGS) \
$(COVERAGE_CFLAGS) \
-DQEMUD_PID_FILE="\"$(QEMUD_PID_FILE)\"" \
-DREMOTE_PID_FILE="\"$(REMOTE_PID_FILE)\""
-DQEMUD_PID_FILE="\"$(QEMUD_PID_FILE)\""
libvirtd_LDFLAGS = \
$(WARN_CFLAGS) \

View File

@ -104,7 +104,7 @@ The TLS B<Server> certificate libvirtd will use.
The TLS B<Server> private key libvirtd will use.
=item F<REMOTE_PID_FILE>
=item F<LOCALSTATEDIR/run/libvirtd.pid>
The PID file to use, unless overridden by the B<-p>|B<--pid-file> option.
@ -121,8 +121,8 @@ To retrieve the version of libvirtd:
To start libvirtd, instructing it to daemonize and create a PID file:
# libvirtd -d
# ls -la REMOTE_PID_FILE
-rw-r--r-- 1 root root 6 Jul 9 02:40 REMOTE_PID_FILE
# ls -la LOCALSTATEDIR/run/libvirtd.pid
-rw-r--r-- 1 root root 6 Jul 9 02:40 LOCALSTATEDIR/run/libvirtd.pid
#
=head1 BUGS