We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0dff984 + 1eb6cc1 commit 8336127Copy full SHA for 8336127
nixos/modules/services/web-apps/peertube.nix
@@ -432,7 +432,6 @@ in {
432
path = with pkgs; [ nodejs_18 yarn ffmpeg-headless openssl ];
433
434
script = ''
435
- #!/bin/sh
436
umask 077
437
cat > /var/lib/peertube/config/local.yaml <<EOF
438
${lib.optionalString (cfg.secrets.secretsFile != null) ''
@@ -457,7 +456,7 @@ in {
457
456
ln -sf ${cfg.package}/config/default.yaml /var/lib/peertube/config/default.yaml
458
ln -sf ${cfg.package}/client/dist -T /var/lib/peertube/www/client
459
ln -sf ${cfg.settings.storage.client_overrides} -T /var/lib/peertube/www/client-overrides
460
- node dist/server
+ exec node dist/server
461
'';
462
serviceConfig = {
463
Type = "simple";
0 commit comments