Files
fwknop/server
Ilya Tumaykin e333cba945 server: remove extra '/run' subdir from paths
Having extra '/run' subdirectory hardcoded into paths used for options
'digest-file', 'pid-file', 'run-dir' is counterintuitive and can lead to
bogus directory layouts when 'localstatedir' differs from the default
value.

For example, if 'localstatedir' is set to '/run', which is a common and
recommended substitute for /var/run in many distros nowadays, then
fwknop files will be placed under /run/run/fwknop.

This changeset removes extra '/run' subdirectory from all relevant paths
by changing DEF_RUN_DIR. Default value of 'localstatedir' is changed to
'/var/run' so users who relied on the previous behaviour won't have to
bother changing anything.

This is tested and works. Gentoo have this patch applied since 2.6.0.
2015-04-20 02:43:10 +03:00
..
2014-11-29 15:14:31 +10:30
2014-12-31 09:51:08 +01:00
2014-12-04 20:07:05 -05:00
2014-12-31 09:51:08 +01:00
2014-12-15 17:03:08 -08:00
2014-09-28 11:49:04 -04:00
2014-12-31 09:51:08 +01:00