summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/default.nix6
1 files changed, 2 insertions, 4 deletions
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;