From df4e3499c9dd2e1ef79db1dde40eeb7f6b7f4c88 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 Apr 2018 12:31:58 +0200 Subject: cleanup --- bragi.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bragi.nix') diff --git a/bragi.nix b/bragi.nix index e8489353..a97859ba 100644 --- a/bragi.nix +++ b/bragi.nix @@ -325,7 +325,9 @@ in rec { wantedBy = [ "default.target" ]; serviceConfig = { Type = "simple"; - ExecStart = ''${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F /thermoprint/api/ -a "localhost" -p 8081''; + ExecStart = '' + ${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F /thermoprint/api/ -a "localhost" -p 8081 + ''; User = users.extraUsers."thermoprint".name; Group = users.extraUsers."thermoprint".group; WorkingDirectory = "~"; -- cgit v1.2.3