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

                           
                    



                               


                                                 
                            
                                               






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

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

[Install]
WantedBy=multi-user.target