1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Fix log s for systemd.service

This commit is contained in:
yalh76 2019-02-01 23:50:57 +01:00
parent 353d78574d
commit 8cf811c38b

View file

@ -9,7 +9,7 @@ Group=__APP__
Environment="PATH=__NODEJS_PATH__" Environment="PATH=__NODEJS_PATH__"
Environment="PORT=__PORT__" Environment="PORT=__PORT__"
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1 ExecStart=/bin/sh -c '__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1'
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target