Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Fix warning about unknown escape sequences

systemd warns about:

Ignoring unknown escape sequences: "/nix/store/8f0l1w9g7iv2gz63xzsxfl66ri1cfbkl-plex-1.9.5.4339/usr/lib/plexmediaserver/Plex\ Media\ Server

From a discussion on the forums it seems the 'sh -c' is not needed:

https://forums.plex.tv/discussion/216757/ubuntu-16-04-executable-path-contains-special-characters-error-with-systemd

+1 -1
+1 -1
nixos/modules/services/misc/plex.nix
··· 137 137 User = cfg.user; 138 138 Group = cfg.group; 139 139 PermissionsStartOnly = "true"; 140 - ExecStart = "/bin/sh -c ${cfg.package}/usr/lib/plexmediaserver/Plex\\ Media\\ Server"; 140 + ExecStart = "\"${cfg.package}/usr/lib/plexmediaserver/Plex Media Server\""; 141 141 KillSignal = "SIGQUIT"; 142 142 Restart = "on-failure"; 143 143 };