From fdf79bfbb92748c068df8d54d99f62289edfd4d4 Mon Sep 17 00:00:00 2001 From: Parthiv Seetharaman Date: Tue, 18 Jan 2022 08:36:57 -0800 Subject: fixup systemd service attribute strings implement suggestions from @zopieux --- module/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module') diff --git a/module/default.nix b/module/default.nix index a368365..f57284d 100644 --- a/module/default.nix +++ b/module/default.nix @@ -61,9 +61,7 @@ let chmod 640 ${settingsFile} ''; - script = '' - ${startupScript} - ''; + script = startupScript; serviceConfig = { Type = "simple"; @@ -79,7 +77,7 @@ let User = "matrix-as-${name}"; Group = "matrix-as-${name}"; WorkingDirectory = dataDir; - StateDirectory = "${baseNameOf dataDir}"; + StateDirectory = baseNameOf dataDir; StateDirectoryMode = "0750"; UMask = 0027; } // opts.serviceConfig; -- cgit v1.2.3