Merge pull request #1249 from cryptpad/node-path

change NodeJS path to match new recommended installation method
This commit is contained in:
yflory 2023-09-20 14:51:27 +02:00 committed by GitHub
commit 67ffe7fd6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
Description=CryptPad API server
[Service]
ExecStart=/home/cryptpad/.nvm/versions/node/v19.8.1/bin/node /home/cryptpad/cryptpad/server.js
ExecStart=/usr/bin/node /home/cryptpad/cryptpad/server.js
# modify to match the location of your cryptpad repository
WorkingDirectory=/home/cryptpad/cryptpad