From 6f624bd369713e4453dfae8b23c93e1c9a37e3da Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Apr 2018 14:08:03 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/trivmix-service.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index b58a5fb9..14f2e3c8 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -73,8 +73,10 @@ let Nice = "-10"; LimitRTPRIO = "95:95"; LimitMEMLOCK = "infinity"; - ExecStart = "trivmix ${escapeShellArgs trivmixArgs}"; }; + script = '' + exec -a trivmix -- trivmix ${escapeShellArgs trivmixArgs} + ''; }; in { options.services.trivmix = mkOption { -- cgit v1.2.3