1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00

Merge pull request #1 from YunoHost-Apps/helper-in-service

feat: use node helper var in service file
This commit is contained in:
Hadrien 2021-11-02 08:21:51 +03:00 committed by GitHub
commit 20c58daa4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
ExecStart=/usr/local/n/versions/node/14.18.1/bin/node server/server.js --port=__PORT__ ExecStart=__YNH_NODE__ server/server.js --port=__PORT__
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit