1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

fixed env in systemd

This commit is contained in:
anmol26s 2018-09-30 19:31:55 +05:30
parent 33755ac53e
commit 10ba82d3aa

View file

@ -8,7 +8,8 @@ Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
User=__APP__
Group=__APP__
ExecStart=/bin/sh -c 'PATH=/opt/node_n/bin:$PATH exec npm start'
Environment="PATH=__ENV_PATH__"
ExecStart=/bin/sh -c 'npm start'
WorkingDirectory=__FINALPATH__/
StandardOutput=syslog
StandardError=syslog