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:
parent
33755ac53e
commit
10ba82d3aa
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ Environment=NODE_ENV=production
|
||||||
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
|
Environment=NODE_CONFIG_DIR=__FINALPATH__/config
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__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__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
|
|
Loading…
Add table
Reference in a new issue