freebsd-nq/sbin/hastd
Mikolaj Golub 7f995f6907 If hastd is invoked with "-P pidfile" option always create pidfile
regardless of whether -F (foreground) option is set or not.

Also, if -P option is specified, ignore pidfile setting from configuration
not only on start but on reload too. This fixes the issue when for hastd
run with -P option reload caused the pidfile change.

Reviewed by:	pjd
MFC after:	1 week
2012-03-29 20:11:16 +00:00
..
activemap.c Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
activemap.h
control.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
control.h Rename HASTCTL_ defines, which are used for conversion between main 2011-04-26 19:38:30 +00:00
crc32.c Allow to checksum on-the-wire data using either CRC32 or SHA256. 2011-03-06 22:56:14 +00:00
crc32.h Allow to checksum on-the-wire data using either CRC32 or SHA256. 2011-03-06 22:56:14 +00:00
ebuf.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
ebuf.h
event.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
event.h Forgot to add event.c and event.h in r212038. 2010-08-31 09:38:43 +00:00
hast_checksum.c Simplify code by changing functions types from int to avoid, as the functions 2011-12-15 22:03:17 +00:00
hast_checksum.h Allow to checksum on-the-wire data using either CRC32 or SHA256. 2011-03-06 22:56:14 +00:00
hast_compression.c Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
hast_compression.h Allow to compress on-the-wire data using two algorithms: 2011-03-06 23:09:33 +00:00
hast_proto.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
hast_proto.h Remove hast_proto_recv(). It was used only in one place, where 2011-04-17 16:18:45 +00:00
hast.conf.5 - Fix documentation to note that /etc/hast.conf is the default configuration 2012-01-24 23:43:13 +00:00
hast.h Allow to specify pidfile in HAST configuration file. 2011-10-17 12:22:09 +00:00
hastd.8 White space cleanups. 2011-03-22 10:39:34 +00:00
hastd.c If hastd is invoked with "-P pidfile" option always create pidfile 2012-03-29 20:11:16 +00:00
hastd.h Add function to assert that the only descriptors we have open are the ones 2011-01-28 21:56:47 +00:00
hooks.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
hooks.h hook_check() is now only used to report about long-running hooks, so the 2010-10-04 21:43:06 +00:00
lzf.c Allow to compress on-the-wire data using two algorithms: 2011-03-06 23:09:33 +00:00
lzf.h Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
Makefile Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignment 2011-12-19 15:46:15 +00:00
metadata.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
metadata.h
nv.c Fix typo. 2012-03-23 20:18:48 +00:00
nv.h Add nv_assert() which allows to assert that the given name exists. 2011-01-22 22:38:18 +00:00
parse.y Fix typo in comment. 2012-02-04 07:59:12 +00:00
pjdlog.c Ensure that pjdlog functions don't modify errno. 2011-09-27 06:43:51 +00:00
pjdlog.h Don't use function name as format string. 2011-12-18 20:40:19 +00:00
primary.c If a local write request is from the synchronization thread, when it 2012-02-05 15:23:32 +00:00
proto_common.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
proto_impl.h The proto API is a general purpose API, so don't use 'hast' in structures or 2011-03-22 16:21:11 +00:00
proto_socketpair.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
proto_tcp.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
proto_uds.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
proto.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
proto.h In hast.conf we define the other node's address in 'remote' variable. 2011-03-21 08:54:59 +00:00
rangelock.c Nice range comparison. 2012-02-11 16:41:52 +00:00
rangelock.h
secondary.c Style cleanups. 2012-01-13 23:25:35 +00:00
subr.c For functions that return -1 on failure check exactly for -1 and not for 2012-01-10 22:39:07 +00:00
subr.h Constify argument. 2012-01-06 12:27:17 +00:00
synch.h Use PJDLOG_ASSERT() and PJDLOG_ABORT() everywhere instead of assert(). 2011-09-27 08:50:37 +00:00
token.l Remove unused token 'port'. 2012-01-20 21:45:24 +00:00