treewide: remove unneeded string literals

This commit is contained in:
Erik Arvstedt
2021-02-07 22:41:29 +01:00
parent e6a6c721c1
commit 4f6ff408ef
11 changed files with 27 additions and 27 deletions
+4 -4
View File
@@ -233,12 +233,12 @@ in {
'';
serviceConfig = nbLib.defaultHardening // {
Type = "simple";
User = "${cfg.user}";
Group = "${cfg.group}";
User = cfg.user;
Group = cfg.group;
ExecStart = "${nbPkgs.elementsd}/bin/elementsd ${cmdlineOptions}";
PIDFile = "${pidFile}";
PIDFile = pidFile;
Restart = "on-failure";
ReadWritePaths = "${cfg.dataDir}";
ReadWritePaths = cfg.dataDir;
} // (if cfg.enforceTor
then nbLib.allowTor
else nbLib.allowAnyIP