mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Add systemd file example
This commit is contained in:
parent
5d4e941100
commit
4688925411
17
support/systemd/peertube.service
Normal file
17
support/systemd/peertube.service
Normal file
@ -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
Block a user