aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 15:58:04 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 15:58:04 +0200
commit468892541175f9662f8b1b977e819dc1a496f282 (patch)
treed976a12866f8f9c2c4737a9401911ba45ad40549
parent5d4e9411005059c775e1b1ccd85100cd9484aedc (diff)
downloadPeerTube-468892541175f9662f8b1b977e819dc1a496f282.tar.gz
PeerTube-468892541175f9662f8b1b977e819dc1a496f282.tar.zst
PeerTube-468892541175f9662f8b1b977e819dc1a496f282.zip
Add systemd file example
-rw-r--r--support/systemd/peertube.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/support/systemd/peertube.service b/support/systemd/peertube.service
new file mode 100644
index 000000000..8aaa2e6e3
--- /dev/null
+++ b/support/systemd/peertube.service
@@ -0,0 +1,17 @@
1[Unit]
2Description=PeerTube daemon
3
4[Service]
5Type=simple
6Environment=NODE_ENV=production
7User=myuser
8Group=myuser
9ExecStart=/usr/bin/node server
10WorkingDirectory=/path/to/peertube
11StandardOutput=syslog
12StandardError=syslog
13SyslogIdentifier=peertube
14Restart=always
15
16[Install]
17WantedBy=multi-user.target