install: follow config_path symlink (#3362)
authorRhys <rimmington@gmail.com>
Tue, 9 Aug 2016 13:33:46 +0000 (23:33 +1000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Aug 2016 13:33:46 +0000 (09:33 -0400)
commit1cd1dab98c574f92e1afca184a4c44327c764955
tree1960958cbdbc84b69dec45493fd213645933dc81
parente73529f9dd878cc449f5271f749929ebd9e93d88
install: follow config_path symlink (#3362)

Under NixOS, the config_path /etc/systemd/system is a symlink to
/etc/static/systemd/system. Commands such as `systemctl list-unit-files`
and `systemctl is-enabled` did not work as the symlink was not followed.

This does not affect how symlinks are treated within the config_path
directory.
src/shared/install.c