From: Mike Brady Date: Thu, 18 Aug 2016 10:45:48 +0000 (+0100) Subject: Add note about `sysconfdir` X-Git-Tag: 2.8.4.7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5d2506dacc25a7b59da5c1687cea413a18afc4;p=thirdparty%2Fshairport-sync.git Add note about `sysconfdir` --- diff --git a/README.md b/README.md index e9a162f4..2d250c97 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,12 @@ pi@raspberrypi ~ $ ``` Choose `--with-systemd` or `--with-systemv` on the basis of the outcome. -Here is an example, suitable for installations that use `systemd`, such as Ubuntu 15.10 and Raspbian Jessie: +**Specify the location of the configuration file** +A final consideration is the location of the configuration file `shairport-sync.conf`. This will be placed in the directory specified by the `sysconfdir` configuration variable, which defaults to `/usr/local/etc`. This is normal in BSD Unixes, but is unusual in Linux. Hence, for Linux installations, you need to set the `sysconfdir` variable to `/etc` using the configuration setting `--sysconfdir=/etc`. -`$ ./configure --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemd` +Here is an example, suitable for Linux installations that use `systemd`, such as Ubuntu 15.10 and Raspbian Jessie: + +`$ ./configure --sysconfdir=/etc --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemd` * Omit the `--with-soxr` if the libsoxr library is not available. * For installation into a System V system, replace the `--with-systemd` with `--with-systemv`.