diff options
author | Izorkin <izorkin@elven.pw> | 2021-02-16 10:09:14 +0300 |
---|---|---|
committer | erictapen <justin.humm@posteo.de> | 2021-02-16 17:57:31 +0100 |
commit | 96f0c2c191c50aae55715c0e7cbc93510354fcf4 (patch) | |
tree | d2b67b182906f31859b77513661fe1b950c23690 /nixos/modules/services/web-apps/mastodon.nix | |
parent | ee688534bda0652522f36dedd071886bb87ddf06 (diff) | |
download | nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.gz nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.bz2 nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.lz nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.xz nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.zst nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.zip |
mastodon, nixos/mastodon: use the same nodejs package in package and module
Diffstat (limited to 'nixos/modules/services/web-apps/mastodon.nix')
-rw-r--r-- | nixos/modules/services/web-apps/mastodon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mastodon.nix b/nixos/modules/services/web-apps/mastodon.nix index 37e5f7719b7..24aea356de4 100644 --- a/nixos/modules/services/web-apps/mastodon.nix +++ b/nixos/modules/services/web-apps/mastodon.nix @@ -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"; |