19 lines
395 B
Desktop File
19 lines
395 B
Desktop File
[Unit]
|
|
Description=PeerTube daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=NODE_ENV=production
|
|
Environment=NODE_CONFIG_DIR=/var/www/peertube/config
|
|
User=peertube
|
|
Group=peertube
|
|
ExecStart=/usr/bin/npm start
|
|
WorkingDirectory=/var/www/peertube/peertube-latest
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=peertube
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|