mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 09:40:28 -06:00
Directly use node in systemd service
This commit is contained in:
parent
6b1ef95699
commit
ec9bd7f0ae
@ -8,7 +8,7 @@ Environment=NODE_ENV=production
|
||||
Environment=NODE_CONFIG_DIR=/var/www/peertube/config
|
||||
User=peertube
|
||||
Group=peertube
|
||||
ExecStart=/usr/bin/npm start
|
||||
ExecStart=/usr/bin/node dist/server
|
||||
WorkingDirectory=/var/www/peertube/peertube-latest
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
Loading…
Reference in New Issue
Block a user