nix/misc
Cole Helbling 9e79061bac fixup: use the real bindir for systemd unit's bindir
Prior to this commit, the unit contained this line:

     ExecStart=@share/nix-daemon nix-daemon --daemon

which caused systemd to complain:

     Failed to restart nix-daemon.service: Unit nix-daemon.service has a bad unit file setting.
     See system logs and 'systemctl status nix-daemon.service' for details.

and had this in the unit output:

     Sep 03 13:34:59 scadrial systemd[1]: /etc/systemd/system/nix-daemon.service:10: Neither a valid executable name nor an absolute path: share/nix-daemon
     Sep 03 13:34:59 scadrial systemd[1]: nix-daemon.service: Unit configuration has fatal error, unit will not be started.

(Notice how it's trying to execute `share/nix-daemon`, which is unlikely
to exist.)

Now with this commit, the path to the daemon binary is properly set:

     ExecStart=@/nix/store/lcbx6d8gzznf3z3c8lsv9jy3j6c67x6r-nix-2.25.0pre20240903_dirty/bin/nix-daemon nix-daemon --daemon
2024-09-03 13:34:37 -07:00
..
bash Meson misc things 2024-08-27 10:19:55 -04:00
fish Meson misc things 2024-08-27 10:19:55 -04:00
launchd Add a setting for configuring the SSL certificates file 2023-03-17 18:32:18 +01:00
systemd fixup: use the real bindir for systemd unit's bindir 2024-09-03 13:34:37 -07:00
systemv lint: fix shellcheck for misc/systemv/nix-daemon 2024-07-14 19:56:03 -07:00
upstart Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00
zsh Meson misc things 2024-08-27 10:19:55 -04:00
meson.build Meson misc things 2024-08-27 10:19:55 -04:00