1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

kbfs: avoid using PrivateTmp for systemd service

The kbfs service does not seem to actually work with a PrivateTmp. A
PrivateTmp seems as appropriate for kbfs as anything else, but the
upstream service does not use it either
<https://github.com/keybase/client/blob/master/packaging/linux/systemd/kbfs.service>
This commit is contained in:
Amit Aryeh Levy 2024-07-22 09:48:46 -07:00 committed by Robert Helgesson
parent 635563f245
commit 7560dc942a
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -52,7 +52,6 @@ in {
"${pkgs.kbfs}/bin/kbfsfuse ${toString cfg.extraFlags} ${mountPoint}"; "${pkgs.kbfs}/bin/kbfsfuse ${toString cfg.extraFlags} ${mountPoint}";
ExecStopPost = "/run/wrappers/bin/fusermount -u ${mountPoint}"; ExecStopPost = "/run/wrappers/bin/fusermount -u ${mountPoint}";
Restart = "on-failure"; Restart = "on-failure";
PrivateTmp = true;
}; };
Install.WantedBy = [ "default.target" ]; Install.WantedBy = [ "default.target" ];