aboutsummaryrefslogblamecommitdiffhomepage
path: root/support/systemd/peertube.service
blob: 346738159c6f97662b9c8a263aaa93d33d1b89d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                           
                                       



                               
                                                    

              
                            
                                                  






                          
[Unit]
Description=PeerTube daemon
After=network.target postgresql.service

[Service]
Type=simple
Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=/var/www/peertube/config
User=peertube
Group=peertube
ExecStart=/usr/bin/npm start
WorkingDirectory=/var/www/peertube/peertube-latest
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peertube
Restart=always

[Install]
WantedBy=multi-user.target