mirror of https://github.com/Chocobozzz/PeerTube
Add systemd file example
parent
5d4e941100
commit
4688925411
|
@ -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
|
Loading…
Reference in New Issue