From e8f1b09014acf9e1b248a8ddd5cc83e60cceca77 Mon Sep 17 00:00:00 2001 From: Jamie Quigley Date: Sat, 27 Aug 2022 17:21:19 +0100 Subject: [PATCH] nixos/plex: specify PIDFile in systemd service --- nixos/modules/services/misc/plex.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/plex.nix b/nixos/modules/services/misc/plex.nix index cb41bbb54b27..033a4327ca96 100644 --- a/nixos/modules/services/misc/plex.nix +++ b/nixos/modules/services/misc/plex.nix @@ -134,6 +134,7 @@ in ExecStart = "${cfg.package}/bin/plexmediaserver"; KillSignal = "SIGQUIT"; + PIDFile = "${cfg.dataDir}/Plex Media Server/plexmediaserver.pid"; Restart = "on-failure"; };