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

Fix working dir path

This commit is contained in:
yalh76 2019-02-09 00:47:42 +01:00
parent 99e2e8e53d
commit fc8e667ebc

View file

@ -7,8 +7,8 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
EnvironmentFile=__FINALPATH__/.env EnvironmentFile=__FINALPATH__/.env
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__
ExecStart=/bin/sh -c 'npm start >> /var/log/__APP__/__APP__.log 2>&1' ExecStart=/bin/sh -c 'node ./dist/bin/server >> /var/log/__APP__/__APP__.log 2>&1'
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target