Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/peertube: startup script: exec into nodejs
1. Removed the #!/bin/sh shebang at the beginning, because systemd.services.<name>.script already adds a #!/nix/store/.../bin/bash shebang. Previously: #!/nix/store/516kai7nl5dxr792c0nzq0jp8m4zvxpi-bash-5.2p32/bin/bash set -e #!/bin/sh umask 077 ... 2. Exec into nodejs, so that the startup script is no longer running but replaces itself by nodejs. This way, only one processus is running inside peertube.service.
- Loading branch information