aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/systemd/peertube.service
diff options
context:
space:
mode:
Diffstat (limited to 'support/systemd/peertube.service')
-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