Update systemd service template

This commit is contained in:
Chocobozzz 2017-06-20 20:34:41 +02:00
parent b632e9049f
commit 9e58005439
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ function createEmptyCallback () {
} }
interface FormatableToJSON { interface FormatableToJSON {
toFormatedJSON() toFormatedJSON ()
} }
function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) { function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) {

View File

@ -6,7 +6,7 @@ Type=simple
Environment=NODE_ENV=production Environment=NODE_ENV=production
User=myuser User=myuser
Group=myuser Group=myuser
ExecStart=/usr/bin/node server ExecStart=/usr/bin/npm start
WorkingDirectory=/path/to/peertube WorkingDirectory=/path/to/peertube
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog