treewide: remove unneeded string literals

This commit is contained in:
Erik Arvstedt 2021-02-01 22:53:12 +01:00
parent e6a6c721c1
commit 4f6ff408ef
No known key found for this signature in database
GPG key ID: 33312B944DD97846
11 changed files with 27 additions and 27 deletions

View file

@ -140,10 +140,10 @@ in {
'';
serviceConfig = nbLib.defaultHardening // {
ExecStart = "${nbPkgs.clightning}/bin/lightningd --lightning-dir=${cfg.dataDir}";
User = "${cfg.user}";
User = cfg.user;
Restart = "on-failure";
RestartSec = "10s";
ReadWritePaths = "${cfg.dataDir}";
ReadWritePaths = cfg.dataDir;
} // (if cfg.enforceTor
then nbLib.allowTor
else nbLib.allowAnyIP