diff options
author | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-01-18 08:36:57 -0800 |
---|---|---|
committer | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-01-18 08:37:19 -0800 |
commit | fdf79bfbb92748c068df8d54d99f62289edfd4d4 (patch) | |
tree | 0d3896af01e5cd118d258fb86ce72542036429c7 /module/default.nix | |
parent | 8c05a809d70aeeb6c6e23d405ba693040ad00730 (diff) |
fixup systemd service attribute strings
implement suggestions from @zopieux
Diffstat (limited to 'module/default.nix')
-rw-r--r-- | module/default.nix | 6 |
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; |