3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Niklas Hambüchen d344dccf3d nixos/wireguard: Remove .path systemd unit for privkey. Fixes #123203
As per `man systemd.path`:

> When a service unit triggered by a path unit terminates
> (regardless whether it exited successfully or failed),
> monitored paths are checked immediately again,
> **and the service accordingly restarted instantly**.

Thus the existence of the path unit made it impossible to stop the
wireguard service using e.g.

    systemctl stop wireguard-wg0.service

Systemd path units are not intended for program inputs such
as private key files.
This commit simply removes this usage; the private key is still
generated by the `generateKeyServiceUnit`.
2021-05-28 17:44:19 -07:00
..
config Merge pull request #101071 from ju1m/apparmor 2021-04-24 11:24:26 +00:00
hardware maintainers: rename metadark -> kira-bruneau (#124035) 2021-05-22 16:47:40 +02:00
i18n/input-method input methods: add kime 2021-04-19 03:05:07 +09:00
installer iso-image: Improve disk detection 2021-05-22 20:04:05 -07:00
misc nixos/monero: use isSystemUser = true 2021-05-08 02:13:25 +02:00
profiles Merge pull request #85073 from hyperfekt/systemd-pstore 2021-05-17 00:00:52 +02:00
programs Merge pull request #123926 from pschyska/master 2021-05-23 18:08:46 +00:00
security nixos/security/apparmor: utillinux -> util-linux 2021-05-17 17:14:08 +02:00
services nixos/wireguard: Remove .path systemd unit for privkey. Fixes #123203 2021-05-28 17:44:19 -07:00
system nixos/luksroot: add bypassWorkqueues (#118114) 2021-05-26 09:43:38 -04:00
tasks nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore 2021-05-21 17:49:23 +02:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation Merge pull request #123583 from superherointj/module-libvirtd-ovmf-aarch64-fix 2021-05-23 19:56:27 -03:00
module-list.nix nixos/botamusique: init 2021-05-23 01:01:51 +02:00
rename.nix quagga: remove 2021-04-22 12:48:48 +02:00