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

                           
                    





                               
                            







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

[Service]
Type=simple
Environment=NODE_ENV=production
User=myuser
Group=myuser
ExecStart=/usr/bin/npm start
WorkingDirectory=/path/to/peertube
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peertube
Restart=always

[Install]
WantedBy=multi-user.target