mirror of https://github.com/Chocobozzz/PeerTube
Update systemd service template
parent
b632e9049f
commit
9e58005439
|
@ -23,7 +23,7 @@ function createEmptyCallback () {
|
|||
}
|
||||
|
||||
interface FormatableToJSON {
|
||||
toFormatedJSON()
|
||||
toFormatedJSON ()
|
||||
}
|
||||
|
||||
function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) {
|
||||
|
|
|
@ -6,7 +6,7 @@ Type=simple
|
|||
Environment=NODE_ENV=production
|
||||
User=myuser
|
||||
Group=myuser
|
||||
ExecStart=/usr/bin/node server
|
||||
ExecStart=/usr/bin/npm start
|
||||
WorkingDirectory=/path/to/peertube
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
|
Loading…
Reference in New Issue