mastodon, nixos/mastodon: use the same nodejs package in package and module

This commit is contained in:
Izorkin
2021-02-16 17:57:31 +01:00
committed by erictapen
parent ee688534bd
commit 96f0c2c191
3 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ in {
else { PORT = toString(cfg.streamingPort); }
);
serviceConfig = {
ExecStart = "${pkgs.nodejs-slim}/bin/node streaming";
ExecStart = "${cfg.package}/run-streaming.sh";
Restart = "always";
RestartSec = 20;
EnvironmentFile = "/var/lib/mastodon/.secrets_env";