coerce port to str

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-02 19:01:50 +01:00
parent bf9233b96c
commit 5b87f22800
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -26,7 +26,7 @@ in
User = "storj"; User = "storj";
Group = "storj"; Group = "storj";
WorkingDirectory = "/var/lib/storj"; WorkingDirectory = "/var/lib/storj";
ExecStart = "${gateway}/bin/gateway run --config-dir /var/lib/storj/${name} --server.address 127.0.0.1:${port}"; ExecStart = "${gateway}/bin/gateway run --config-dir /var/lib/storj/${name} --server.address 127.0.0.1:${builtins.toString port}";
Restart = "always"; Restart = "always";
RuntimeDirectory = "storj"; RuntimeDirectory = "storj";
RuntimeDirectoryMode = "0700"; RuntimeDirectoryMode = "0700";