daemon: write pidfile twice, to be able to show errors to user
daemon: write pidfile twice, to be able to show errors to user

rabbitt/libusual,ifduyue/libusual,ifduyue/libusual,mgjv/libusual,markokr/libusual,rabbitt/libusual,mgjv/libusual,rabbitt/libusual,markokr/libusual,ifduyue/libusual,markokr/libusual,markokr/libusual,mgjv/libusual,mgjv/libusual,ifduyue/libusual,rabbitt/libusual