Update systemd service template
This commit is contained in:
parent
b632e9049f
commit
9e58005439
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user