mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-10-30 11:52:24 +03:00
18 lines
303 B
Desktop File
18 lines
303 B
Desktop File
[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
|