aboutsummaryrefslogblamecommitdiffhomepage
path: root/support/systemd/peertube.service
blob: 8aaa2e6e32d53ad82659b85e8606220dc4da811f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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