mirror of https://github.com/Chocobozzz/PeerTube
19 lines
322 B
INI
19 lines
322 B
INI
[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
|