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 @@ +[Unit] +Description=PeerTube daemon + +[Service] +Type=simple +Environment=NODE_ENV=production +User=myuser +Group=myuser +ExecStart=/usr/bin/node server +WorkingDirectory=/path/to/peertube +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=peertube +Restart=always + +[Install] +WantedBy=multi-user.target